Cranes at VIIT Q23

Student Marks Analysis Using Structures

Problem Statement:

Write a C program using a struct named student that stores the following information for each student:

The program should:

  1. Initialize data for 6 students (names, roll numbers, and marks as given below).
  2. Display all student details.
  3. Calculate and display:
    • The minimum marks
    • The maximum marks
    • The average marks

Student Data (use directly in the program):

Sample Output:

Student Details:
Name: Kandisa Vinay Vishnu Vardhan
Roll Number: CL20250315011037946
Marks: 85.50

Name: Matta Sai Venkat Poojith
Roll Number: CL2025031501103341
Marks: 90.00

Name: Mohammed Abdul Khayyum
Roll Number: CL2025031501103352
Marks: 78.00

Name: Mohammed Faizan Bin Haque
Roll Number: CL2025031501103363
Marks: 88.50

Name: N. Deepika
Roll Number: CL2025031501103385
Marks: 92.00

Name: Nukapeyyi Tanuja
Roll Number: CL2025031501103374
Marks: 80.00

Minimum marks: 78.00
Maximum marks: 92.00
Average marks: 85.67
            

Task: Implement this program using an array of structures. Use loops to calculate min, max, and average marks.