Thursday, 29 March 2018

Program to input name of the user and display on output screen in"C"

#include <stdio.h>
void main ()
{
char ch [20];
clrscr();
printf ("\n enter your name:");
gets(ch);
printf ("your name is :%s",ch);
getch ();
}

No comments:

Post a Comment

Featured post

Program to find maximum of three number using user define function in C++

A function can be define by the user as per the requirement of the user or programmer . To implement a user define function , a programmer ...