Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include<iostream>
  2. #include<iomanip>
  3. using namespace std;
  4. int main()
  5. {
  6.     int A,B,NUMBER,SALARY;
  7.     double C;
  8.     cin>>A>>B>>C;
  9.     cout<<"NUMBER = "<<A<<endl;
  10.     cout<<fixed<<setprecision(2);
  11.     SALARY = B*C;
  12.     cout<<"SALARY = U$ "<<SALARY<<endl;
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement