I'm a beginner to C++ and writing a point of sale software for supermarket.
I used if....else statements. If for the shop owner and else for salespersonel. Since the salespersonel will be using it continously, i want my program to redisplay the salespersonel screen after inputing data and printing receipt for the customer. I hope to hear from you good friends.
I also want the program to store prices of goods entered by the store owner so the salesperson (the program) can use this information later to calculate cost of goods to customers and then the stored information is always updated as and when the salesperson use the program. Counting on your numerous support.
3. I want to know how to set password for the shop owner and the salesperson in the program.
This is my coding
using namespace std;
string name, ict;
int numOfMilk, milkBox;
int numOfSardine, sardineBox;
int numOfMilo, miloBox;
int numOfCerelac, cerelacBox;
int numOfIndomie, indomieBox;
int numOfBoxes, milk, sardine, milo, cerelac, indomie;
double costOfOneBox,totalPrice, eachMilkPrice, eachSardinePrice, ;
double eachCerelacPrice, eachMiloPrice, eachIndomiePrice;
char filename = "shopitems.txt";
Pls, aalok i will need your help as i'm now into programming. Can i have your email or any contact so you can help me. i'm on whatsapp (+233268855434), facebook (adepa ampofo). i will be glad if any one help me to be a good programmer. Tanx