/* Read and display employee bio-data */
#include< stdio.h >
main()
{
	struct bio
	{
		char name[50];
		int age;
		char design[50];
		float salary;
		char address[80];
	};
	struct bio a;
	clrscr();
	printf("enter the value of name age design salary address\n");
	scanf("%s",a.name);
	scanf("%d",&a.age);
	scanf("%s",a.design);
	scanf("%f",&a.salary);
	scanf("%s",&a.address);
	printf("%s\n%d\n%s\n%f\n%s",a.name,a.age,a.design,a.salary,a.address);
	getch();
}

/* The above program can be written as
	#include
	struct bio
	{
		char name[50];
		int age;
		char design[50];
		float salary;
		char address[80];
	};
	main()
	{
	struct bio a;
	clrscr();
	printf("enter the value of name age design salary address\n");
	scanf("%s",a.name);
	scanf("%d",&a.age);
	scanf("%s",a.design);
	scanf("%f",&a.salary);
	scanf("%s",&a.address);
	printf("%s\n%d\n%s\n%f\n%s",a.name,a.age,a.design,a.salary,a.address);
	getch();
	}

*/