+ 1

C program to print your name 10 times

1st Nov 2022, 3:22 PM
Sandeep Kumar
Sandeep Kumar - avatar
3 odpowiedzi
+ 5
Attempts?
1st Nov 2022, 3:27 PM
A͢J
A͢J - avatar
+ 3
Aditya Dhiman Code is working so what is your question?
1st Nov 2022, 4:06 PM
A͢J
A͢J - avatar
+ 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; }
1st Nov 2022, 3:47 PM
Aditya Dhiman
Aditya Dhiman - avatar