Chapter+3_Ex+3.14

Exercise 3.14 code format="cpp"
 * 1) include
 * 2) include

using namespace std;

int main(int argc, char *argv[]) {   int burgers, fries, sodas; float tendered; cout.width(35); cout.setf(ios_base::left, ios_base::adjustfield); cout.setf(ios_base::fixed); cout.precision(2); cout<<"Enter the number of burgers: "; cin>>burgers; cout.width(35); cout<<"Enter the number of fries: "; cin>>fries; cout.width(35); cout<<"Enter the number of sodas: "; cin>>sodas; cout<>tendered;

cout.width(35); cout<<"The change is: $"; cout<<tendered-(tax+total);

cin.ignore(100,'\n'); cin.get; system("PAUSE"); return EXIT_SUCCESS; }

code