fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. float a, b, c;
  8. cin>>a>>b>>c;
  9. cout<<"NUMBER = "<<a<<endl<<fixed<<setprecision(2)<<"SALARY = U$ "<<b*c<<endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 3432KB
stdin
25
100
5.50
stdout
NUMBER = 25
SALARY = U$ 550.00