write a program that would prompt the user to enter an indefinite number of sales per day. display the total and average sales and display if the total sales is lower than $500 display "no profit" other display "profit was made

3 answers

Put your SUBJECT in the correct box, not the name of your school.
I am not going to write the program for you, but do wonder how a total or average sales can be computed on a machine for an infinite number of sales. I even wonder how it could count those sales.
write a program that would prompt the user to enter an indefinite number of sales per day. display the total and average sales and display if the total sales is lower than $500 display "no profit" other display "profit was made

I know how to start it off but when I reach the cout... am lost
#include <iostream>
using namespace std;

int main()
{
double