Return To CS 110 Home

Colour Theme   Font Size Options
 
   
   
   
Exercise 3

Value Returning Function Exercise: avg()

In this exercise you will practice writing and using value returning functions by writing a C++ program that asks the user to enter five integer marks, uses a function to calculates the average of the five marks, then prints the average.

When you are done: