Question

Write a C program to calculate the average, highest, and lowest marks obtained by students in a class using an array. Accept n marks from the user and display the results.

12 Sep 2025
Answer :
Word Count : 931
In problem solving and programming, using arrays to handle multiple data points efficiently is a fundamental concept. Arrays allow programmers to store a collection of similar types of data under a single variable name, making it easier to perform operations like searching, sorting, or aggregating data. When dealing with student marks, arrays are particularly useful because they enable the storage of all marks and allow us to process them collectively to find metrics such as the average, highest, and lowest marks. In C programming, the process begins with understanding how to declare an array, accept input, and iterate through it using loops. To solve the problem of calculating the average, highest, and lowest marks, the first step is to accept the number of students or the number of marks, denoted by `n`. This value determines the size of the array. The program then declares an array of size `n` to store the marks of all __________ _________ ____ ___ ___.
________ ___ _____ ______ _______ ______.
____ _____ ______ _____ _____ ________ ________ ____ ___ ________.
_____ _______ _______ ______ _________.
____ _______ _____ ___ __________ ______ ________ ___ ___ _______ __________.
________ __________ ____ __________ ______ _________.
___ _____ ________ ________ _______ __________ ______ ____ __________ _____ __________ _______.
______ ______ _____ ________ _____ _____ ________ ___ __________ ______.
______ _____ ______ _______ __________ ___ ______ ________ _________ _______ _________ ________.
______ _________ ____ __________ __________ ________.
_______ ________ _________ ___ ___.
___ ________ _____ _____ _______ _____.
__________ _______ ____ __________ _____ _______.
_____ ________ ________ _________ ____ ________ __________ _________ _________ _________.
_________ ______ __________ _________ _________ _________.
_______ ___ ________ __________ ________.
_________ ________ ______ _______ _________ _____.
___ ______ ________ _____ ___ _______ ___ ________ ____ __________.
___ _______ _______ ___ ____ _____ ____ __________ _________ _____ ______ _____.
_______ ______ ___ _________ __________ __________ __________ _________ _______.
__________ _________ _________ _____ ___ _________.
________ _________ _______ ___ _________.
________ ______ ____ _______ ________.
_____ ___ _____ __________ _________ ____ _________ ____ ________.
___ ______ ______ _________ __________ __________ __________.
___ ____ ____ ____ _________.
____ ________ _________ ___ ________ _________ __________ _____ _________ __________.
___ ____ __________ ______ __________ __________ _______.
________ ____ ___ _____ _______ _________ ___ _______ _________ ___ ___ __________.
_____ __________ __________ ______ ___ ____ ________.
____ ________ ____ ____ _________.
__________ ________ _______ ________ _________ ______ _______ _________ ___ __________ _____ ____.
__________ ________ _____ _________ __________ ____ ______.
________ ______ _________ ______ __________.
______ ________ ______ ___ _________ ______ ___ _______ _____ ___.
_________ ____ ______ __________ _______ ______ _______ ________.
_______ ___ _________ ________ _________ __________ _______ _____ ___ ___ _____.
____ _____ _______ ________ ____ ___ _________ ____ _______ _____ ________.
__________ __________ ____ ___ _______ _____ _____ ______ _____.
___ __________ ____ _________ ___ _______ ___ _____.
___ __________ ____ _____ ________ _______.
_____ _________ ________ ____ ________ _______ ________ ________ ______.
_______ ________ __________ ___ _______ ___ _________ _______.
_________ _________ ___ ____ ___.
_______ ____ _________ _____ ___ _______ ____ ________ __________.
________ ____ ___ __________ _________.
________ ______ _______ _______ ___ ___ _________ ________ __________ ____.
__________ ________ ___ __________ _______ _________ ______ ______ ____ __________ ____.
______ ________ ______ __________ _______ ________ _______ _______ __________ __________ ____ ________.
___ _____ _________ ______ ________ ___ ______ ________ ____ ________ ______.
____ _____ ______ ______ _____ __________ _____ _________ _____.
_________ _____ _________ ___ ____ ____ _______ ____ ___ _______ ________.
_________ ________ _______ ____ ___ __________.
___ _________ _____ _________ ______ _______ __________ _________ _________ _________ _______.
_________ _________ _______ ___ _________ _______.
________ _________ _______ ____ _________ _____ _____ _______ ______ ________ ________ ______.
_______ _______ _____ ______ ______ _________ __________ ________ ______.
__________ __________ _________ ________ ______ ______.
______ ______ ____ _____ ___ _________ ______ ________ ______ _____ _______.
_______ ___ ______ _____ ______.
_________ __________ __________ _____ _______ _________ __________ _________.
________ _______ ___ __________ __________ ___ ________ ______ _________ _____.
___ ______ _________ _________ __________.
_______ ______ ____ _________ _____ ___ ________ ____ _________ ______.
_____ ___ ___ __________ ___ ______ _____ __________ ___.
______ _______ ___ _______ _________ _________ __________ _____ ______ __________.
________ ____ _________ __________ ________ ____.
________ ___ _______ _______ __________ _________ ________.
______ ______ ______ _________ ______ _____ _______ ________.
____ ___ ________ _____ __________ ____.
__________ __________ _____ _______ ___ _____.
_____ ____ ____ ______ ______ ______.
__________ _________ ______ _________ _________ _________ _____ __________.
________ ______ _________ ______ ____ _________ ________ ____ ______.
______ _____ ________ __________ ______ _________ ___ ____ ____ _________.
______ _____ _______ __________ _______ _____ ________ _____ __________ ____.
__________ __________ ________ __________ ______ ___.
____ __________ _____ ___ ____ ___ ____ ________ _________.
___ ________ ______ _________ ___ _________ _____ ___.
______ __________ ___ _______ __________ _____ _____ _______ ______ _______.
____ _________ ___ ____ ___ _______ ______.
______ _______ ___ _____ _____ _______ _______ _____.
___ ___ ______ _________ _____ ________ ____ _______.
___ ___ ________ _______ _______ ________ ___ _____ ________ _______ __________.
_______ ____ ________ __________ _______ ____ __________ ___ _____.
_____ ____ ____ ______ ____ _________.
___ _______ ________ _________ ____ __________ ________ ________ _____ ____.
_____ _____ _____ _______ _____ _____ __________ _________ ___ ______.
______ _______ ____ _____ ___ __________ _________ ______ ____.
____ __________ __________ ___ ______ ______ _______ ___.
_________ _____ ____ ____ _______ __________ ________.
______ ______ ____ ___ ________ ____ ________ __________ ______ _______ _______.
___ ______ ____ __________ __________ _________ _______ ____ _____ ___ _______ ____.
____ ___ _____ _____ _______ ___ __________ _______ _____ _________.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write a C program to calculate the average, highest, and lowest marks
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support