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
→