Samiul_Islam_Abir

04

Jul 5th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. void main()
  3. {
  4. int A,B,i;
  5.  
  6. scanf("%d%d",&A,&B);
  7. for(i=A;i<=B;i++){
  8.         if(i%2==0){
  9.             printf("%d ",i);
  10.         }
  11.  
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment