You need to have a semicolon after the closing brace of a class declaration.
Please always use code tags - the <> button on the right you should know that by now with 24 posts.
It is not a good idea to have public get / set functions for each private member of a class. You might as well make all the members public!!!
Instead think about what actual operations you are going to do on the object? For example you could have a GetInput function that sets all the variables in one go. You also have constructors. You might also have a display function that prints out all the variable values.
thanks alot for replying, it is not just debugging, still saying end of file. l tried rewriting it using another textbook and a link a friend gave me, still same thing. l am using visual basic c++, empty console as directed. let me paste what l did this morning again, l have not slept since yesterday.