Advertisement
evgenko

Leo_h_lab7_1

Dec 13th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. int main()
  3. {
  4.     for (int i=200;i<=400;i++){
  5.         if (i%10 == 5)
  6.             printf("%d\n",i);
  7.         else
  8.             if ((i/10)%10==5)
  9.              printf("%d\n",i);
  10.     }
  11.     return 0;
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement