Search This Blog

Saturday, 16 May 2020

programme C(devided or not devided)

 first one devided by second or its not devided properly second(if content)

#include<stdio.h>
int main()
{
    int x,y;
    printf("enter no1\t");
    scanf("%d",&x);
    printf("enter no2\t");
    scanf("%d",&y);

    if (y%x==0){
        printf("first one is devided by second");

    }
    else {
        printf("it is not devided properly from second");
    }
}
     


No comments:

Post a Comment

please wait...