Sunday, February 15, 2009

exer2


#include
#include


void main(){
clrscr();
char name[50],gender[10],status[10],religion[10];
printf("Enter name:");
gets(name);

printf("Enter gender: ");
gets(gender);

printf("Enter status:");
gets(status);
printf("Enter religion:");
gets(religion);


printf("I'm %s, %s, %s, %s", name,gender,status,religion);



getch();

}

No comments:

Post a Comment