looks like I cannot connect to the website
please post the code here (copy pasting)
also please use tags
edit :
I can connect...here's a possible fix if it is to your liking
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
if ( serviceType == 'p'||'p' )
{ //you need this if it has more than one thing going on in if
double xxx ;
ofstream xxx;
xxx.open ("final_bill_Platnum.txt") ;
xxx<< "Account Number: "<< accountNum << endl << "Type of Service: " <<serviceType << endl <<
"Number of minutes you used during the morning : " << MorningMin << endl << "Number of minutes you used during the morning : " << nightMin << endl <<
"Amount Due 1 Day = SAR " << amountDue << endl ;
}
elseif ( serviceType == 'G'||'g' )
{
double yyy ;
ofstream yyy ;
yyy.open ("final_bill_gold.txt") ;
yyy<< "Account Number: "<< accountNum << endl << "Type of Service: " <<serviceType << endl <<
"Number of minutes you used : " << GMmin << endl <<
"Amount Due 1 Day = SAR " << amountDue << endl;
}