Computer Science, asked by shatayuakare121, 5 hours ago

Declare a structure for a student record consisting of four fields. Student ID, First Name, last Name and the total score.
Write a program to accept the value of all data members from the user.
Calculate the percentage os stuedent assuming that total score can here maximum value 500.

Answers

Answered by sindhur422
0

Answer:

In this C programming example, you will learn to store the information of 5 students by using an array of structures.

Answered by mrgoodb62
1

Answer:

In this program, a structure student is created. The structure has three members: name (string), roll (integer) and marks (float).

Then, we created an array of structures s having 5 elements to store information of 5 students.

Using a for loop, the program takes the information of 5 students from the user and stores it in the array of structure. Then using another for loop, the information entered by the user is displayed on the screen.

Similar questions