What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-29 22:14:04
cpp program to find average of n numbers
#include <iostream> using namespace std; int main() { // initialize an array without specifying size double numbers[] = {7, 5, 6, 12, 35, 27}; double sum = 0; double count = 0; double average; cout << "The ... Add solution