Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ > Arrays 1 Arrays 1 Submit Assignment Due No Due Date Points 10 Submitting afile upload Write a function that takes two input parameters,
C++
> Arrays 1 Arrays 1 Submit Assignment Due No Due Date Points 10 Submitting afile upload Write a function that takes two input parameters, an array of integers named grades and an integer named gnum count of how many grades are in the array. The function computes and returns the number of passing grades, where a passing grade is any grade of 60 or higher. Write a main program that does the following: 1. Ask the user how many grades they want to enter, and read it in. 2. In a for loop, print a prompt like "Enter grade 1:" where the number changes on each entry, and read in the grade. 4. Call the function to compute the number of passing grades and output it. Next PreviousStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started