write a program to print your name and age five times using do while and do until loops separately.
Answers
Answered by
3
#include<stdio.h>
int main()
{ int i=5;
do
{
printf("your name\n");
i--;
}while(i>0);
// for do untill loop
i=5;
do
{
printf("your name\n");
i++;
}until(i>10);
}
Similar questions
Math,
7 months ago
India Languages,
7 months ago
English,
7 months ago
Science,
1 year ago
Geography,
1 year ago