Question: Question 12 (2 parts) Write a complete program that contains and uses a function isOdd to find the number of odd numbers entered by a

Question 12 (2 parts) Write a complete program that contains and uses a function isOdd to find the number of odd numbers entered by a user Part A (function prototype/definition - 20 points) Write a function isOdd0 that takes one parameter: 1. number, an integer The function returns true if number is odd and false otherwise. Part B (Rest of the program - 20 points) The program prompts the user for the amount of numbers to enter. It then repeatedly asks the user to enter that many numbers and calculates the total number of odds entered. The program must call isOdd to check whether a number is odd or not. After calculating the total number of odds, the program prints to the screen "Too many" if more than half of the numbers entered were odd and "Few" otherwise. For example, if the user enters 10 numbers, 92, 89, 65, 84, 35, 54, 88,99, 93, 89, the program would print: Few SOLUTION
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
