I NEED HELP WITH THESE QUESTIONS IN C++: Problem 5: Average of Values To get the average of a series of values, you add the values up and then divide the sum by the number of values. Write a program that stores the following values in five different variables: 28, 32, 37, 24, 33. The program should first calculate the sum of these five variables and store the result in a separate variable named sum. Then, the program should divide the sum variable by 5 to get the average. Display the average on the screen. Problem 15: Triangle Pattern Write a program that displays the following pattern on the
So what is the problem??
". Write a program that stores the following values in five different variables: 28, 32, 37, 24, 33. The program should first calculate the sum of these five variables and store the result in a separate variable named sum. Then, the program should divide the sum variable by 5 to get the average. Display the average on the screen."
So where are you having a problem at billy?
Join our real-time social learning platform and learn together with your friends!