Hi guys I am really having trouble on what to do with my program. We are asked to make a cashier's program and I don't know how to do the the Receipt... I don't know what to do in the order part... how about if the customer will order 3 of my products?? I also don't know how to do the calculation part ... can you help me ??
#include<iostream> using namespace std; void partsList(){ float mouse, keyboard, monitor, CPU, Package; mouse=100; keyboard=120; monitor=300; CPU=500; Package=3000; //THE PRODUCTS cout<<endl; cout<<"Mouse - P "<<mouse<<endl; cout<<"Keyboard - P "<<keyboard<<endl; cout<<"Monitor - P "<<monitor<<endl; cout<<"CPU - P "<<CPU<<endl; cout<<"Package - P "<<Package<<endl; }; int main(){ string Fname, Lname, age, add, cnum; //CASHIERS INFORMATION cout<<"First Name: "; cin>>Fname; cout<<"Last Name: "; cin>>Lname; cout<<"Input Age: "; cin>>age; cout<<"Address: "; cin>>add; cout<<"Contact #: "; cin>>cnum; partsList(); string orders; char any; char y; cout<<endl; //THE RECEIPT cout<<" Nicole's Computer Shop!! "<<endl; cout<<"*********************************"<<endl; //THE ORDER OF THE CUSTOMER cout<<"Orders: "; cin>>orders; cout<<"Your order is: "<<orders; cout<<endl<<endl<<endl; cout<<"*********************************"<<endl; cout<<"Cashier: "<<Fname<<" "<<Lname<<endl; }