answersLogoWhite

0

the following is C code, should work well enough. If not, you should get the general idea.

int counter;

for (int i=1;i<10;i++)

{

println("Enter a number: ");

cin << counter;

}

println("Total, %i", counter);

User Avatar

Wiki User

17y ago

What else can I help you with?