Advertisement
a53

InaltimeTriunghi

a53
Jun 22nd, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int c1,c2,i;
  8. cin>>c1>>c2>>i;
  9. float h=(int)(100*c1*c2/i);
  10. cout<<fixed<<setprecision(2)<<h/100<<'\n';
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement