Question: In c++ Write a program with a void function without parameters named compute Avg () that computes the average of two integer values that is
In c++ Write a program with a void function without parameters named compute Avg () that computes the average of two integer values that is used in function main. Function main first calls function compute Avg () to compute the average of the values 123 and 456 that it prints. It then reads two integer values, then calls function compute Avg () to compute their average that it prints
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
