Code:
int main()
Also make sure that main() returns 0.

Are you sure you want two variables called st_no and st_no1, it looks like you are getting confused as to which one to use.