197k views
4 votes
Before entering a loop to compute a running total, the program should first do this

1 Answer

3 votes
Initialize it's variable:

double total = 0.0
while( whatever )
User Ivan Koblik
by
8.1k points

No related questions found