double total = 0;
double amount;
double temp;
char choice;
cout << "\nwelcome 2 my grocery store!!!!";
cout << "\nwould u like 2 see the items available for purchase(y/n)? ";
cin >> choice;
cin.get();
if ( choice == 'Y' || choice == 'y' )
{
do
{
//the display menu
cout << "the items available are:";
cout << "\nno. "<<'\t'<<"item "<<'\t'<<"quantity(b)(in grams)"<<'\t'<<"m.r.p(c)";
cout << "\n--- "<<'\t'<<"---- "<<'\t'<<"---------------------"<<'\t'<<"--------";
cout << "\n1. "<<'\t'<<"urad dal "<<'\t'<<"1000g "<<'\t'<<"Rs.50.25";
cout << "\n2. "<<'\t'<<"tur dal "<<'\t'<<"1000g "<<'\t'<<"Rs.60.75";
cout << "\n3. "<<'\t'<<"tea powder "<<'\t'<<"1000g "<<'\t'<<"Rs.200.0";
cout << "\n4. "<<'\t'<<"rice "<<'\t'<<"1000g "<<'\t'<<"Rs.50.00";