Quote:
Originally Posted by thapchi View Post
Well the main thing u r missing is

Scanf

its user input?

where will user enter?
If you put scanf it would wait for user input .Read the problem again.