Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use C++ please Question 12 (2 parts) Write a complete program that contains and uses a function is by a user. Odd to find the

Use C++ please
image text in transcribed
Question 12 (2 parts) Write a complete program that contains and uses a function is by a user. Odd to find the number of odd numbers entered 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 many numbers and calculates the total a number is odd or not. After calculating the total number of odds, the program prints to the if more than half of the numbers entered were odd and "Few" otherwise the amount of numbers to enter. It then repeatedly asks the user to enter that number of odds entered. The program must call isOdd to check whether screen "Too many" program would print: For example, if the user enters 10 numbers, 92, 89, 65, 84, 35, 54, 88, 99, 93, 89, the Question 12 (2 parts) Write a complete program that contains and uses a function is by a user. Odd to find the number of odd numbers entered 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 many numbers and calculates the total a number is odd or not. After calculating the total number of odds, the program prints to the if more than half of the numbers entered were odd and "Few" otherwise the amount of numbers to enter. It then repeatedly asks the user to enter that number of odds entered. The program must call isOdd to check whether screen "Too many" program would print: For example, if the user enters 10 numbers, 92, 89, 65, 84, 35, 54, 88, 99, 93, 89, the

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

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

Q: Please describe your organisations HR department.

Answered: 1 week ago

Question

6. The cost of the training creates a need to show that it works.

Answered: 1 week ago