By using this site, you agree to our Privacy Policy and our Terms of Use. Close

Jazzy is right, plus :

 

There is no semicolon after void main() also, you should use curly brackets 

void main()

{

//code

}