#include <iostream>
int main()
{
std::cout << "Hello Boxtopy\n";
}
Once you get this to compile correctly replace the std::cout statement a little bit at a time. Remember Compile early, compile often, and always fix all warnings and errors pointed out by your compiler before you continue.
int main(); <------- that ; tells the c++ compiler that somewhere later you will declare main.
that is not what you wanted and the ; here is incorrect.
you also have an extra but harmless ; on line 6.
you also have a bunch of ints before main's body which is also wrong.
the format is, as shown above,
int main()
{ //begin main
things
} // end main
not int main();
and not
int main()
things //not here
{//begin
you should also know that integer division produces zero for 2/3 and 1 for 5/6 etc so you may want to use a floating point type there.