fork download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. double p;
  8. int n;
  9. cin >> p >> n;
  10. cout << fixed << setprecision(2) << p * n;
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
0.00