main{if ( exams == over ) printf( "Play-time!" );else study;}
syntax error! hahaha!!!int main() {string action = "";bool exam_over = false;if (exam_over == false) {cout << "STUDY LAH!!!" << endl;}else {cout << "YAY!! OVER LIAO!!!" << endl;}return 0;}
how come yours so cheem one. i only know C programming leh. hahah. i dunno your bool and cout and endl. =P show off. Whahaha. And I never touch for one sem liao lehhhhhhhhh don't like that la. hHaaha.
Post a Comment
3 comments:
syntax error! hahaha!!!
int main() {
string action = "";
bool exam_over = false;
if (exam_over == false) {
cout << "STUDY LAH!!!" << endl;
}
else {
cout << "YAY!! OVER LIAO!!!" << endl;
}
return 0;
}
how come yours so cheem one. i only know C programming leh. hahah. i dunno your bool and cout and endl. =P show off. Whahaha. And I never touch for one sem liao lehhhhhhhhh don't like that la. hHaaha.
Post a Comment