Professional Documents
Culture Documents
Viva Sat 11 - 1
Viva Sat 11 - 1
Time : 30 Minutes
Marks : 5 Marks
odd numbered machine
--------------------Q1) Write a C function calculate_average which first calculates and then displays
the average marks
in 5 subjects for a student. Use structure to store the following variables per
student:
a. Enrollment of student: 10 digit number
b. Name: 25 digit character
c. Subjects: 4 in number marks
Use the constraint of marks not below 0 and not above 100.
MAKE ENTRIES FOR ATLEAST 5 RECORDS
even numbered machine
----------------------Q2) Q1) Write a C function calculate_average_annual_salary
any and print the results.
of employees of a comp