MOKSHo 0 Newbie Poster

write a template for a function called total . the function should keep a running total of values entered by the user , then return the total . the argument sent into the function should be the number of values the function is to read . Test the template in a simple driver program that sends valuse of various types as arguments and displays the results