Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions