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
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!
+ 6
show your attempt.