Advertisement
Sabbir-bin

This is 2,4,6,8,10..................48,50

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