I need ideas for a C++ mini project. It should be complex enough to involve 4 students.
help us to run the code below...please2...
#include<iostream>
#include<cstring>
using namespace std;
void menu (double, double&);
int main()
{
system("TITLE Orville .3");
char username[8];
char password[8];
char doagain;
do//start of first do statment
{
cout << "WELCOME TO SAN EKSPRESS BOOKING TICKET SOUTH COUNTRY ONLY" << endl;
cout << "LOGIN" << endl;
cout << endl;
cout << "Username: " << endl;
cin >> username;
if (strcmp(username, "O")== 0)
{//start of my first if, "if username isnt orville end program"
}
else
{
cout << "Incorrect" << endl;
system("pause");
return 0;
}//end of entire if statement
cout << "Password: " << endl;
cin >> password;
if (strcmp(password, "1234")== 0)
{//start of my first if, "if username isnt orville end program"
}
else
{
cout << "Incorrect" << endl;
system("pause");
return 0;
}//end of entire if statement
}
}
void menu (double, double&)
[
double num;
//double total;
double price1, price2, price3;
char choice;
price1 = 15.00;
price2 = 20.00;
price3 = 10.00;
for (;

{
do
{
cout<<"Welcome to SAN Express.\n"<<endl<<endl;
cout<<"Number 1 to 3 is a state that you desire to go"<<endl<<endl;
cout<<"Please choose an option by entering the number or press q to quit\n"<<endl<<endl;
cout<<"1 - Melaka\n"<<endl;
cout<<"2 - Johor Bahru\n"<<endl;
cout<<"3 - Negeri Sembilan\n"<<endl;
cout<<"4 - Ticket Price\n"<<endl;
cout<<"5 - Help\n"<<endl;
cout<<"6 - About This Program\n"<<endl;
//cout<<"7 - \n"<<endl;
cin>>choice;
}
while ( choice < '1' || choice > '6' && choice != 'q');
if (choice == 'q') break;
switch (choice)
{
case '1':
cout<<"Please enter a number of seats\n"<<endl;
cin>>num;
cout<<"Your Total Is : RM"<<num*price1;
cout<<"\n";
break;
case '2':
cout<<"Please enter a number\n"<<endl;
cin>>num;
cout<<"Your Total Is : RM"<<num*price2;
cout<<"\n";
break;
case '3':
cout<<"Please enter a number\n";
cin>>num;
cout<<"Your Total Is : RM"<<num*price3;
cout<<"\n";
break;
case '4':
cout<<"The Ticket Price From Kuala Lumpur to Melaka is RM 15.00"<<endl<<endl;
cout<<"The Ticket Price From Kuala Lumpur to Johor bahru is RM 20.00"<<endl<<endl;
cout<<"The Ticket Price From Kuala Lumpur to Negeri Sembilan is RM 10.00"<<endl<<endl;
cout<<"\n";
break;
case '5':
cout<<"This is a Bus Express Ticket Reservation for South Malaysia\n"<<endl;
cout<<"To select an option, type the number next to the option and press enter\n"<<endl;
cout<<"Enter the number of seat that you want and the total will be";
cout<<"calculated automatically and will appear on the screen"<<endl;
cout<<"\n";
break;
case '6':
cout<<"SAN Express

\n";
cout<<"Any Feedback Would Be Nice -
aina89_elves@yahoo.com.\n"<<endl;
cout<<"Thank You For Using This System. Bye!!\n";
cout<<"\n";
break;
//case '7':
//cout<<"Updates include: -double variable instead of int, so that decimals can be used.\n";
//cout<<" -do while loop so that you can exit the program yourself\n";
//cout<<"\n";
// break;
default:
cout<<"That is not an option";
cout << "Again?" << endl;
cin >> doagain;
}
while (doagain=='y' || doagain=='Y'); //end of do..while statemnt
system("pause");
return 0;
}//end of main code