Draw an flowchart and algorithm to print your name 10 time loop has to be need
Answers
Answered by
0
Answer:
#include <stdio.h>
int main()
{
int count;
char name[50];
printf("Enter the name: ");
scanf("%s", name);
count=1;
start:
printf("%s ", name);
count++;
if(count<=10)
goto start;
return 0;
}
Language: C
Output: returns the user input ten times
Similar questions
Social Sciences,
2 months ago
Computer Science,
5 months ago
Biology,
11 months ago
Math,
11 months ago
Math,
11 months ago