Describe a function that will prompt the user to enter 50


For each of the problems below you are to consider making a function to solve the problem. As before, state the purpose of the function in your own words.

Next specify input that is needed for the function to complete the task, and state what input should be passed to the function as parameters and what would be acquired inside the function using the input function.

Specify the expected output and state if the output will be returned to the function call or be sent to the monitor. Finally give the step by step process that will obtain the output from the input (the algorithm).

In addition to these 4 items also specify test data that can be used for each function. Remember to describe your steps in enough detail so someone other than you could follow your algorithm and solve the problem. Also do not write any actual code.

Program : Describe a function that will prompt the user to enter 50 whole numbers and count how many even and odd numbers were entered (0 should be considered an even number). The function should send back to the function call how many odd and even numbers were entered.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe a function that will prompt the user to enter 50
Reference No:- TGS02899694

Expected delivery within 24 Hours