Rehman Tabasum
Followers: 0 Following: 0
Feeds
답변 있음
“if” statement using “or” operator.
i=5 while i>=-1 pause(1) fprintf('%d\n',i) i=i-1 if i==0 break end end this is my cod...
“if” statement using “or” operator.
i=5 while i>=-1 pause(1) fprintf('%d\n',i) i=i-1 if i==0 break end end this is my cod...
3년 초과 전 | 0
답변 있음
I know this might easy for you, but I won't to countdown from 10:1:-1 i know to to do this loop. what I don't know is how to pause each number by 1 second
for k = 10:-1:0 disp(k) pause(1) end
I know this might easy for you, but I won't to countdown from 10:1:-1 i know to to do this loop. what I don't know is how to pause each number by 1 second
for k = 10:-1:0 disp(k) pause(1) end
3년 초과 전 | 0