+ 1
C program to print your name 10 times
3 Respostas
+ 5
Attempts?
+ 3
Aditya Dhiman
Code is working so what is your question?
+ 1
You can go through this code :-
#include <stdio.h>
int main()
{
char name[25];
scanf("%s", name);
for (int i = 0; i < 10; i++)
{
printf("%d - %s\n", i+1, name);
}
return 0;
}