Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c language Question 6. (12 Marks) Design a main program in C-language that asks the user to enter the grades of students (a grade should

c language image text in transcribed
Question 6. (12 Marks) Design a main program in C-language that asks the user to enter the grades of students (a grade should be between 0-100) with count -20 students. The program should store the grades in an array and then display the following data: a. The lowest grade in the array b. The number of passed grades (where pass grade >= 60) c. The sum of the grades in the array d. Write a function called AVG that takes the count and the sum of the grades as parameters and return the average. e. Call the function AVG from the main and display its returned value

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

Describe how to measure the quality of work life.

Answered: 1 week ago

Question

What attracts you about this role?

Answered: 1 week ago