cout << "Enter how many adult tickets were sold";
adultTickets = cin.get();
cout << "Enter how many child tickets were sold";
childTickets = cin.get();
Correct code :
1 2 3 4
cout << "Enter how many adult tickets were sold";
cin >> adultTickets;
cout << "Enter how many child tickets were sold";
cin >> childTickets;
Seriously? cin.get() is for char variables not double.