Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- void Rofyda_Elghadban(){
- #ifndef ONLINE_JUDGE
- freopen("input.txt", "r", stdin), freopen("output.txt", "w", stdout);
- #endif
- }
- int main()
- { Rofyda_Elghadban();
- float A, B, Floor, Ceil, Round;
- cin >> A>> B;
- cout<<"Floor "<<A<<" / "<<B<<" = "<<Floor(A/B) <<"\n";
- cout<<"Ceil "<<A<<" / "<<B<<" = "<<Ceil(A/B) <<"\n";
- cout<<"Round "<<A<<" / "<<B<<" = "<<Round(A/B) <<"\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement