2) create a program called cashier.cpp. It should display the following screen:
Serendipity Booksellers(centered)
Date:
Qty ISBN Title Price Total
______________________________________________
Subtotal
Tax
Total
Thank you for shopping at Serendipity1
for this program I didn't know what to do .. any help?
_____________________
3) create a program called invmenue.cpp. It should display the following screen:
Serendipity Booksellers
Inventory Database
1. Look Up a Book
2. Add a Book
3. Edit a Book's Record
4. Delete a Book
5. Return to the main Menu
Enter your choice
// invmenue
#include <iostream>
using namespace std;
int main()
{
cout << "Serendipity Booksellers";
cout << "Inventory Database";
cout << "1. Look Up a Book ";
cout << "2. Add a Book";
cout << "3. Edit a Book's Record";
cout << "4. Delete a Book" ;
cout << "5. Return to the main Menu" ;
cout << "Enter Your Choice:";
Cin >> "Enter Your Choice:"
return 0;
}
_________________________
4) create a program called bookifo.cpp. It should be display the following screen:
Serendipity Booksellers
Book information
_______________
5) create a program called reports.cpp It should display the following screen:
Serendipity Booksellers
Reports
1. Inventory Listing
2. Inventory Wholeasale Value
3. Inventory Retail Value
4. Listing by Qantatity
5. Listing by cost
6. Listing by Age
7. Return to the Main Menu
Enter Your Choice:
// Main Menu Screen
#include <iostream>
using namespace std;
int main()
{
cout << "Serendipity Booksellers";
cout << "Reports";
cout << "1. Inventory Listing";
cout << "2. Inventory Wholeasale Value";
cout << "3. Inventory Retail Value";
cout << "4. Listing by Qantatity ";
cout << "5. Listing by cost";
cout << "6. Listing by Age";
cout << "7. Return to the Main Menu";
cout << "Enter Your Choice:";
Cin >> "Enter Your Choice:"
return 0;
}
_______________
could you please keep it simple for me .. this is my first class in programing "Thank you"
oohh ok my mistake, so I will change it to small letter, but still I am not being able to run the programs. when I am pressing F5 nothing is happeening and all of my cout's are not appering on the screen... even when I am debuging them the same thing is happening and getting ( press any key to contunie)
I haven't used Visual Studio in as long as I haven't used Windows (years). However, the fixed code for all three programs that you gave us the code for should work (it works perfectly on my *nix system).
Anyway, do you know how you can force VS to build without running the programs? If so, then do it...
#include <iostream>
usingnamespace std;
int main()
{
int choice;
cout << "Serendipity Booksellers\n";
cout << "main menu\n";
cout << "1. Cashier Module\n";
cout << "2. Inventory Database Module\n";
cout << "3. Report Module\n";
cout << "4. Exit\n";
cout << "Enter Your Choice: ";
cin >> choice;
switch(choice){
case 1:
cout << "ur text";//here type text or whatever else function u have to use.
break;
case 2:
cout << "ur text";
break;
case 3:
cout << "ur text";
break;
case 4:
return 0;
break;
default://it's used when any user input dosen't match, the program will run default code
cout << "Unable choice";
}
return 0;
}