Question
USE C++ !!! Question 12+13 (2 parts) Write a complete program that contains and uses a function passingWithA()to find the number of A scores entered
USE C++ !!!
Question 12+13 (2 parts) Write a complete program that contains and uses a function passingWithA()to find the number of A scores entered by a user. Question 12 (function prototype/definition 20 points) Write a function passingWithA that takes one parameter: 1. score, an integer between 0-100 The function returns true if the score is >=85 and false otherwise. Question 13 (Rest of the program 20 points) The program prompts the user for the amount of scores to enter. It then repeatedly asks the user to enter that many scores and calculates the total number of A scores. The program must call passingWithA to check whether a score is an A score or not. After calculating the total number of As, the program prints to the screen Great Success if more than half of the numbers entered were A scores and More work is needed otherwise. For example, if the user enters 10 scores, 92, 89, 65, 84, 35, 54, 88, 99, 93, 89, the program would print: Great Success
Step 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