Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

array 1 dimension c programming 3.6 Write a program that reads Mathematic test marks of 10 (ten) student and stores it to a 1-dimensional (1-D)

image text in transcribed

array 1 dimension

c programming

3.6 Write a program that reads Mathematic test marks of 10 (ten) student and stores it to a 1-dimensional (1-D) array named studentmark1. Then, determine the followings: (a) Average marks of the test (b) Highest mark (c) Lowest mark (d) Suppose that pass mark is 60 and above. Determine the number of passed and failed students. The sample output should be as follows: Enter test marks: 72 64 53 81 40 90 76 39 68 84 Average marks : 66.70 Highest mark : 90.00 Lowest mark : 39.00 Number of passed students: 7 Number of failed students: 3

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

The Temple Of Django Database Performance

Authors: Andrew Brookins

1st Edition

1734303700, 978-1734303704

More Books

Students also viewed these Databases questions

Question

Do you currently have a team agreement?

Answered: 1 week ago

Question

c. How is trust demonstrated?

Answered: 1 week ago

Question

c. Will leaders rotate periodically?

Answered: 1 week ago