Well im sittin in class bored and i dont have a complier here so i went to the tutorials and i wrote a program similar to the age on in the tutorial but different do you see any errors in this????????????????????????????????????
Code:// TimeSpent.cpp // by laughman #include <iostream int main() { int time; //time on puter cout << "Input the time you spend on computers daily: "; //question cin >> time; //amount of time if(time<4) //if statement { cout << "eh your the normal computer user!"; //answer output } else if(age>4) //if 2 { cout << "Eh what are you up to you little scientist!\a\a\a\a\a"; //answer 2 output } return 0; //return to OS }
also if i dont want it to return to the os what would i set the return as
[edit]Tagged by Hammer