im having issues with my code and since im just starting my C++ course im still having problems with classes, I have the following code and im trying to get a user to enter the name, type and age of a pet but i cant get the program to display the information given , can you look at my code and point out that my issue is, thanks
In function 'int main()':
57:24: error: 'pname' was not declared in this scope
58:24: error: 'ptype' was not declared in this scope
59:23: error: 'page' was not declared in this scope
Your program does not have any Pet objects. You have to change your main().