write a program on do while loop and while loop
Answers
Answered by
5
#include <stdio.h>
int main( )
{
int count=1;
while (count <= 4)
{
printf("%d ", count);
count++;
}
return 0;
}
#include <stdio.h>
int main( )
{
int var=1;
while (var <=2)
{
printf("%d ", var);
}
}
Answered by
1
heYa !!!!!!
your answer
thanks
your answer
thanks
Attachments:
Similar questions
Math,
6 months ago
Social Sciences,
6 months ago
Science,
6 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Chemistry,
1 year ago
Chemistry,
1 year ago