Mayur Lad
Followers: 0 Following: 0
Feeds
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
4 years 前
已回答
Counting the number of digits
x=input('Enter number: '); disp(x) sum= 0; while x > 0 t = mod(x,10); sum= sum+1; x = (x-t)/10; end...
Counting the number of digits
x=input('Enter number: '); disp(x) sum= 0; while x > 0 t = mod(x,10); sum= sum+1; x = (x-t)/10; end...
4 years 前 | 0