// Prototypes
void DisplayMenu();
int GetSelection();
// The main() function.
int main()
{
// Display the menu.
DisplayMenu();
// Get the menu selection.
int selection;
selection = GetSelection();
// Select the matching process.
if (selection == 1)
std::cout << "Processing Receivables" << std::endl;
else if (selection == 2)
std::cout << "Processing Payables" << std::endl;
else if (selection == 3)
std::cout << "Quitting" << std::endl;
else std::cout << "\aInvalid selection" << std::endl; return 0;
}
void DisplayMenu()
{
std::cout << "--- Menu ---" << std::endl;
std::cout << "1=Receivables" << std::endl;
std::cout << "2=Payables" << std::endl;
std::cout << "3=Quit" << std::endl;
}
int GetSelection()
{
int selection; std::cout << "Enter Selection: "; std::cin >> selection;
return selection;
}
Song : O Saathi Re Film : Mukhathar Ka Sikkandhar Uses : C D D# E G A Note : The numbers at the end of the lines indicate line numbers. Pallavi: O saathi re, tere binaa bhi kya jina, tere binaa bhi kya jina A- C D D#....,D D C DD E...C..CA-...,D D C DD E...CC.......1 Play line 1 again phulon men khaliyon men sapnom ki galiyon men GGG...GAGE.. GGG G A G E.................................................2 tere bina kuchh kahin naa E A G E D C D D#.......................................................................3 tere binaa bhi kya jina, tere binaa bhi kya jina D D C DD E....C..CA-..., D D C DDE....CC.............................4 Charanam: har dhadkan men, pyaas hai teri, sanson men teri khushboo hai CCC C D C A-, CCC C D C A-, DDD DED CD EE.. CCCC......................5 is dharthi se, us ambar tak, meri nazar men tu hi tu hai CCC C D C A-, CCC C D C A-, DDD DED CD EE.. CCCC......................6 pyaar yeh tute naa GGG... GAG D#......E............................