Makananise Mulalo
Followers: 0 Following: 0
Feeds
질문
How do I display squares of all even integers from zero to some positive integer input by the the user.And the program must continuously request a number from the user untill a valid a positive integer is entered
My code so far: M=input(enter integer) for c=0:m if (mod(m,2)==0) disp(m*m) end end
4년 초과 전 | 답변 수: 1 | 0