Question: C++ Use a void function 23) Convert last week's value returning functions, into void functions! Make the necessary hanges to the function header, body and
23) Convert last week's value returning functions, into void functions! Make the necessary hanges to the function header, body and prototype a) Write a program that has a function named timesTen. The function should accept a double argument, and then multiply it by 10 and display the result to the screen. b) Write a program that has a function called findAverage that takes as arguments 4 integers and calculates and displays the average of those numbers. Call the function in main, ask the user for the 4 integers and then pass them to the function c) The distance a vehicle travels can be calculated as follows Distance-Speed *Time Write a function named calDistance that accepts a vehicle's speed and time as arguments, and calculates and displays the distance the vehicle has traveled
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
