#include<stdio.h>
int main()
{
int number=10;
while(number <= 20)
{
printf("%d ", number);
number = number + 1;
}
return 0;
}
Output of program:
10 11 12 13 14 15 16 17 18 19 20
int main()
{
int number=10;
while(number <= 20)
{
printf("%d ", number);
number = number + 1;
}
return 0;
}
Output of program:
10 11 12 13 14 15 16 17 18 19 20
No comments:
Post a Comment