16.5:=====Write a function template called total. The function will keep a runningtotal of values entered by the user, then return the total. The function willaccept one int argument that is the number of values the function is to read.Test the template in a simple program that would prompt the user to enterthe number of values to read and then read these values from stdin and outputthe total. The program will repeat this procedure first for integers, then fordoubles.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here