Computer Science, asked by mannavapavani4135, 1 year ago

wap to print counting 1 to 10 using while loop.

Answers

Answered by prishnasharma38
1

CLS

WHILE N= 1 TO 10

PRINT N

WEND

END

Answered by kvnmurty
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