GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com

#include using namespace std; int main() { int x = 1; // loop start point int number; // store the number the user enters int total = 0; // store the sum of the numbers while (x <= 5){ cin >> number; // ask the user for a number and store it in the number variable total = total + number; // add the number to the total. HINT - the shorthand version is: total += number; x++; // is the same as: x = x + 1; } cout << "Your total is " << total << endl; return 0; }
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.