Advertisement
rotti321

20th Century Fox

May 19th, 2021
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. int n,c;
  7. cin>>n;
  8. c=n/100+1;
  9. if(n%100==0){
  10. c=c-1;
  11. }
  12. cout<<c;
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement