Horje
uri/beecrowd problem no - 1133 solution in C Code Example
uri/beecrowd problem no - 1133 solution in C
#include<stdio.h>
int main(){
    int X,Y,i;
    
    scanf("%d%d", &X, &Y);
    
    if(X > Y){
        for(i = Y+1; i < X; i++){
            if(i % 5 == 2 || i % 5 == 3){
                printf("%d\n", i);
            }
        }
    }else if(X < Y){
        for(i = X+1; i < Y; i++){
            if(i % 5 == 2 || i % 5 == 3){
                printf("%d\n", i);
            }
        }
    }
    return 0;
}




C

Related
reset the reading position to beginning in c Code Example reset the reading position to beginning in c Code Example
l/O Multiple Values Code Example l/O Multiple Values Code Example
2021 Code Example 2021 Code Example
1000000000 Code Example 1000000000 Code Example
c atoi atof Code Example c atoi atof Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9