I am new to programming and i am teaching myself. (my teachers are not very good)
I am attempting an old assignment that a colleage had completed in school.
He told me it was pretty basic in terms of c++ programming.
UELS is a company selling bicycles;
Customers may opt to buy more than one bicycle as long as it is the same model.
If other models are also required then a separate transaction must be made.
The sales process is decided to be automated.
I have to implement and test a sales program.
The first task is to produce a menu (see below):
1. display company logo
2. input/validate weekly sales data
3. calculate weekly sales
4. display reciept
5. exit
I am attempting the options part by part.
i attempted the first part, but it didn't compile
CAN anyone help ?
I'd be extremely appreciative of any hints and help
(my code)
#include <iostream.h>
main()
{
int number;
cout << "1. Display Company Logo.";
cout << "2. Input/Validate weekly sales data.";
cout << "3. Calculate weekly sales.";
cout << "4. Display reciept.";
cout << "5. Exit.";
cout << "\nEnter number...\n";
cin >> number;
switch (number)
{
case [1]:cout << "\n\tUU\tUU \tEEEEEEEE \tLL\t\t \SSSSSSS";
"\n\tUU\tUU \tEE \t\tLL\t\tS";
"\n\tUU\tUU \tEE \t\tLL\t\tS";
"\n\tUU\tUU \tEEEEEEE \t\LL\t\t\ SSSSSS";
"\n\tUU\tUU \tEE \t\t\LL\t\t S";
"\n\tUU\tUU \tEE \t \t\LL \t\t S ";
"\n\t UUUUUUUU *\tEEEEEEEE *\tLLLLLLL *\tSSSSSSS *";break;
default:cout<<("No such group");
}
getch();
}
My pro