Question: SOLVE IN C. EXERCISE: 1. Create a struct called Student (see below) and read the records of two students using it. Then print the name

SOLVE IN C. EXERCISE: 1. Create a struct called Student (see below)SOLVE IN C.

EXERCISE: 1. Create a struct called Student (see below) and read the records of two students using it. Then print the name and id of the student who has higher CGPA than the other. struct Student{ char name [50]; int id; float CGPA;| }; 2. Create a struct called Birth Certificate (see below) and read the info of two persons using it. Then print the name of the person who is older than the other. Also print his/her parents' names. struct Birthcertificate { int day, month, year; //to represent birthdate char name [100], fatherName [100], motherName [100]; }; 3. Create a struct called Employee with the following members: a) Name b) Date of Birth (D.O.B., in short) c) Starting Date d) Salary Create an array of 4 employee variables; then read user input to fill up this array. Then display the info of the employee who gets the highest salary. Sample input/output: Name: Bob Marley D.O.B: 1/4/1993 Starting date: 12/6/2016 Salary: 20000 EXERCISE: 1. Create a struct called Student (see below) and read the records of two students using it. Then print the name and id of the student who has higher CGPA than the other. struct Student{ char name [50]; int id; float CGPA;| }; 2. Create a struct called Birth Certificate (see below) and read the info of two persons using it. Then print the name of the person who is older than the other. Also print his/her parents' names. struct Birthcertificate { int day, month, year; //to represent birthdate char name [100], fatherName [100], motherName [100]; }; 3. Create a struct called Employee with the following members: a) Name b) Date of Birth (D.O.B., in short) c) Starting Date d) Salary Create an array of 4 employee variables; then read user input to fill up this array. Then display the info of the employee who gets the highest salary. Sample input/output: Name: Bob Marley D.O.B: 1/4/1993 Starting date: 12/6/2016 Salary: 20000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!