Advertisement
Guest User

C

a guest
Oct 18th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <limits>
  3. using namespace std;
  4.  
  5. int main() {
  6. double obsah;
  7. double diery;
  8. cin>>obsah;
  9. cin>>diery;
  10. double vysledok = obsah+((obsah/(100-diery))*diery);
  11. cout.precision(20);
  12. cout << fixed << vysledok <<endl;
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement