//Program in c for accept and display
#include <stdio.h>
#include <conio.h> //console input output header file
void main()
{
clrscr(); //*clearscreen function ~ from conio.h
char name[25]; //charachter variable name with size 25
printf("Enter your name:\t"); //accepting name
scanf("%c", &name); //storing name in our variable
printf("\n department! %c",name); //displaying name
getch(); //get charachter function from conio.h
}