fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. int x;
  7. double a,b,c,d,y;
  8. cin>>a>>b>>c>>d;
  9. x=(a*b*c*d)/100;
  10. y=(((a*b*c*d)/100)-x)*100;
  11. cout<<y<<endl;
  12.  
  13.  
  14. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
0