Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <limits>
- using namespace std;
- int main() {
- double obsah;
- double diery;
- cin>>obsah;
- cin>>diery;
- double vysledok = obsah+((obsah/(100-diery))*diery);
- cout.precision(20);
- cout << fixed << vysledok <<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement