Question: Given a partially filled array of primitive integers named 'grades' and an integer variable named 'count' that holds the number of usable values in the

Given a partially filled array of primitive integers named 'grades' and an integer variable named 'count' that holds the number of usable values in the array, fill in the blank to complete the following code that adds the value 85 at index 2, moving all other usable values up. You may assume that there is room in the array for this value to be added. for ( { grades[i] = grades[i - 1]; grades [2] = 85; count++; Use proper spacing per the course style guide. Do not include additional spaces at the beginning or end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
