Untitled
public text v1 · immutable#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int one = 1; // Declares variables.
cout << "The computer will count up from 1 to 100. " << endl;
while (one <= 100)
{
cout << one << endl; // Displays number
one++; // counter
}
system("PAUSE");
return 0;
}