Here my code, Since im in Program Fundemenatal 1. I cant useoverly technical codes.
// Header files for I/O,precision,time and manipulation
#include
#include
#include
#include
#include
#include
using namespace std;
//Function prototype
void MainMenu();
void SideMenu();
int main()
{
//Variable for file read
ifstream in;
//Extract month for read file
string mon,dateVal;
//Read month sale details and calculation
int s, m, l,totalS=0, totalM = 0, totalL = 0;
//Input read
int ch, s_ch, num = 0;
//date extraction
string str1 = “”;
string str2 = “”;
string str3 = “”;
//Todays date extraction
time_t rawtime;
struct tm * timeinfo;
char fileStore;
char buffer[80];
time(&rawtime);
timeinfo = localtime(&rawtime);
strftime(buffer, sizeof(buffer), “%m/%d/%Y”, timeinfo);
std::string str(buffer);
//for each case different cup size calculations
int sOrderDay = 0, mOrderDay = 0, lOrderDay = 0;
double sOrderDayPrice = 0, mOrderDayPrice = 0,
PayPal Gateway not configured
PayPal Gateway not configured