0

A C++ program that inputs 10 marks of a stdnt and store them in an array,Then calcs I)Total marks ii)avg iii)smlst & lgst marks

Guys please help me out here

11th Feb 2021, 3:14 PM
Ibrahim Zuberi
Ibrahim Zuberi - avatar
2 Antworten
+ 3
1. First shall be declared an array with 10 storing places; 2. Use a „for loop“ for input the data and store into the array; 3. Then the array can for example be sorted and after that you will have on the both ends smalles and largest item; 4. For the avg are a few methods one is explained in the math book. Happy coding!
11th Feb 2021, 4:32 PM
JaScript
JaScript - avatar
+ 6
show your attempt.
11th Feb 2021, 3:18 PM
Rellot's screwdriver
Rellot's screwdriver - avatar