Given Partially Filled Array Primitive Integers Named Grades Integer Variable Named Count Q43871010

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 removes the element at index 2, moving all other usable values down. for ( grades[i] = grades[i + 1]; count–; Use proper spacing per the course style guide. Do not include additional spaces at the beginning or end. Show transcribed image text 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 removes the element at index 2, moving all other usable values down. for ( grades[i] = grades[i + 1]; count–; Use proper spacing per the course style guide. Do not include additional spaces at the beginning or end.
Expert Answer
Answer to Given a partially filled array of primitive integers named ‘grades’ and an integer variable named ‘count’ that holds the…
OR