Language:EN
Pages: 2
Words: 274
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
the highest mark and the average mark for student

C++ Student Marks Program Homework Answers

Your question:

student submitted image, transcription available below

for c++

Assignment Help Answers with Step-by-Step Explanation:

    const int numStudents = 3;

    const int numSubjects = 4;

        {85, 90, 95, 100}

    };

    for (int i = 0; i < numStudents; i++) {

        lowestMark = studentMarks[i][0];

            if (studentMarks[i][j] < lowestMark) {

                lowestMark = studentMarks[i][j];

            averageMark += studentMarks[i][j];

        }

        std::cout << "Highest Mark: " << highestMark << "\n";

        std::cout << "Average Mark: " << std::fixed << std::setprecision(2) << averageMark << "\n\n";

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Anna Howell

PageId: DOC083288F