clcclear alla=0;x = input('Enter the number : ')while x<100 %%example code
if rem(x,2)==0 x=x+2;else x=x+1;enda=a+1;format longb=[a x]endc=[1 20; 2 22; 3 24]
I want the output of b as a 2 dimensional array where all the values a and x will be existed as like c.
Best Answer