#include <iostream>
usingnamespace std;
int main ()
{
double order;
double Package;
int A = 400;
int a = 400;
int B = 500;
int b = 500;
int C = 1000;
int c = 1000;
int D = 1200;
int d = 1200;
double Tpackage;
double counter;
counter = 0;
Tpackage = 0;
cout << "Welcome to Susy Catering "<<endl;
cout << "Food Package's"<<endl;
cout << "Package A ...... $400"<<endl;
cout << "Package B ...... $500"<<endl;
cout << "Package C ...... $1000"<<endl;
cout << "Package D ...... $1200"<<endl;
cout << "Enter how many Orders of Package: ";
cin >> order;
for(counter = 0;counter < order;counter++)
{
cout << "Enter Package :";
cin >> Package;
Tpackage = Tpackage + Package;
}
cout << "Your Total Order cost is : $"<<Tpackage<<endl;
system ("pause");
return 0;
}
You want to make the Package variable either a char or a std::string. Also, your other variables should probably be integers, not doubles - especially counter should not be a floating point type.