// A C program to enter and display the name using string
#include<stdio.h>#include<conio.h>
void main()
{
clrscr();
char name[30];
printf("Enter name: ");
gets(name);
printf("Name: ");
puts(name);
getch();
}
Output:
// A program to display series from 1 to 50.
// A program to find the person is eligible for voting or not.
//A C program to find largest number among 3.
// A C program to perform arithmetic operations using switch case.
// A program to find the person is eligible for voting or not.
//A C program to find largest number among 3.
// A C program to perform arithmetic operations using switch case.
0 Comments