Question: DONT USE ARRAYS USE REFERENCE PARAMETERS Goals: Practicing loop/repetition structures and functions Create a program that will allow the user to enter up to 50

DONT USE ARRAYS
USE REFERENCE PARAMETERS  DONT USE ARRAYS USE REFERENCE PARAMETERS Goals: Practicing loop/repetition structures and

Goals: Practicing loop/repetition structures and functions Create a program that will allow the user to enter up to 50 whole values and determine thie number of values entered, how many of the values were odd and how many of the values were even Use a function (other than main) that will prompt the user to enter up to 50 whole numbers values and count how many even and odd numbers were entered (0 should be considered an even number) utilizing a loop. The loop should continue as long as the user wants to enter another value and the number of values entered is less than 50. The function should send back to the function call how many values were entered and how many odd and even numbers were entered. Use a minimum number or arithmetic operators inside the loop. Your main function should be a driver program that will call the function, then output the values sent back to the function call Your function definition should occur after main. Do not use any concepts beyond Chapter 6 (e.g. arrays) of your textbook. Remember that in addition to the introductory comments for the program your code should contain comments for each function other than main that states the purpose of the function, input to the function (both input from the function call and interactive input), output from the function (both information sent back to the function call and interactive output), and processing performed in the function. Follow the Assignment Guidelines posted on Canvas

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!