hey !
(sorry my english is not good enough)
i need ur help in my project.it's about airplane reservation system. so i did all the functions right but i have a problem with loop around switch . is it possible ?
i want a loop so the program doesn't exit after each case this is a sample of my code and output
1 2 3
cout<<"\n1. Show number of empty seats\n2. Show empty seats' position\n3. Reserve a seat\n4.Cancel a seat\n5.Exit the program\n";
cin>>choice;
switch(choice)
i want the output to be like this
1- Show number of empty seats 2-Show empty seats' position 3-Reserve a seat 4- Cancel a seat
1
the number of empty seats is 15
1- Show number of empty seats 2-Show empty seats' position 3-Reserve a seat 4- Cancel a seat