Friday, 5 January 2018

How to execute my name number of times in c language?

Program in C language:

#include<stdio.h>
#include<conio.h>

void main()
{
char c[20];
int n,i;
clrscr();
printf("Enter the number =");
scanf("%d",&n);
printf("Enter your name=");
scanf("%s",c);
for(i=1;i<=n;i++)
{
    printf("Your name is=%s\n") ;
        }
getch();
}
OUTPUT:for an example 
    Enter the number =3
   Enter your name =karthick
 
    Your name is=karthick
   Your name is=karthick
    Your name is=karthick

The above program is execute your names number of times. If there is any mistake or doubt in this program, comment below.
    SUPPORT&SHARE!!!!
The bove

No comments:

Post a Comment

Tik Tok ban?

Hello buddy's, it's good to see you. So, What happens to Tik Tok? Is Tik Tok ban? Here is the answer for everything. Madurai benc...