Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- int main()
- {
- long double buvo,tapo,procent;
- cin>>buvo;
- cin>>tapo;
- procent=(((tapo-buvo)*100)/buvo);
- cout<<fixed<<setprecision(2)<<procent<<endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment