Advertisement
a53

count_c2

a53
Jan 1st, 2022
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int n,x,cnt;
  7. cin>>n;
  8. cnt=0;
  9. while(n--)
  10. {
  11. cin>>x;
  12. if(10<=x&&x<=99)
  13. ++cnt;
  14. }
  15. cout<<cnt;
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement