wap to print counting 1 to 10 using while loop.
Answers
Answered by
1
CLS
WHILE N= 1 TO 10
PRINT N
WEND
END
Answered by
4
The following is a program that can be compiled and executed.
#include <studio.h>
main()
{
int i ;
i = 1;
while (i <= 10) {
printf ("%d ", i) ;
i ++;
}
printf ("\n");
}
kvnmurty:
:)
Similar questions