1) You don't define enums inside a method: they are declared outside
2) You cannot include a space in any name - function, variable, type, class, struct, or enum.
3) It's a good idea to use consistent naming conventions - and capitalizing the first letter of each word makes things a lot more readable!
#include <iostream>
using namespace std;
enum userchoice
{
Toyota = 1,
Lamborghini,
Ferrari,
Holden,
RangeRover
};
enum quizlevels
{
HardQuestions = 1,
MediumQuestions,
EasyQuestions
};
int main()
{
return 0;
}