Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*numbers*/
- #include <cmath>
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- double f, t, a;
- string output;
- f = 0;
- t = 1700;
- a = 10;
- if (f == 1)
- output = "Charge $15.00";
- else
- if (t <= 1700)
- output= "Charge $10.00";
- else
- if (a <= 12)
- output= "Charge $10.00";
- else
- if (a >= 65)
- output= "Charge $18.75";
- else output= "Charge $25.00";
- cout<<"The Result is" <<
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment