Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<iomanip>
- using namespace std;
- int main()
- {
- int A,B,NUMBER,SALARY;
- double C;
- cin>>A>>B>>C;
- cout<<"NUMBER = "<<A<<endl;
- cout<<fixed<<setprecision(2);
- SALARY = B*C;
- cout<<"SALARY = U$ "<<SALARY<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement