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 Volume of given box in java

class volume { public static void main (String args []) { int l=5,b=6,h=10; int volume; volume=l*b*h; System.out.println (" vol...