Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using C++(microsoft visual studios 2013) create a program with comments (//comments) using the following instructions: Populate a one-dimensional array with the following grades in this

Using C++(microsoft visual studios 2013) create a program with comments (//comments) using the following instructions:

Populate a one-dimensional array with the following grades in this order:

91, 62, 75, 43, 84, 52, 70, 84, 99, 88, 91, 69 and 67.

Use a loop to call a method from main() that adds 10 points to all student grades that are a C or above. A C is defined as a score of 70 or above. Make this happen by passing the subscript value and not the entire array. The addition of the 10 points should happen in the method and be passed back to main. Use a loop to show final values within the array. The final array values should show the new adjusted grades.

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 Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

what's the four steps of the Linux boot and startup process

Answered: 1 week ago