Question: 34. 14 pts] Define a void function coug-fan) that prints Go, Cougs! It has no parameters 35-37: In the following three problems you need to
34. 14 pts] Define a void function coug-fan) that prints Go, Cougs! It has no parameters 35-37: In the following three problems you need to write three functions that are related to each other The first is get.input ). The second is sum.nums, and the third is main ) which calls the other two functions 35. [6 pts] Define a non-void function get input 0 which fist prompts a user for an integer number and then prompts the user for a float number. It then retums these values to main to it. It adds these two parameters and returns the result to mainO 37. [8 pts) Define void function main0 that calls a function get input (O which returns num and num2. These values are then passed to a function called sum.nums (0 which returns total. This result is then printed in main ) 34. 14 pts] Define a void function coug-fan) that prints Go, Cougs! It has no parameters 35-37: In the following three problems you need to write three functions that are related to each other The first is get.input ). The second is sum.nums, and the third is main ) which calls the other two functions 35. [6 pts] Define a non-void function get input 0 which fist prompts a user for an integer number and then prompts the user for a float number. It then retums these values to main to it. It adds these two parameters and returns the result to mainO 37. [8 pts) Define void function main0 that calls a function get input (O which returns num and num2. These values are then passed to a function called sum.nums (0 which returns total. This result is then printed in main )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
