// A program to print the name 10 times.
#include<stdio.h>#include<conio.h>
void main()
{
clrscr();
int count;
char name[50];
printf("Enter the name: ");
scanf("%s",name);
count=1;
start:
printf("%s ",name);
count++;
if(count<=10)
goto start;
getch();
}
Output:
Nhận xét
Đăng nhận xét