Ad Code

Responsive Advertisement

1113 - Ascending and Descending

Author: Ismail Hosen

Daffodil International University





Problem Link

//Please follow from main function



#include<stdio.h>


int main()


{


    int x,y;


    while(1)


    {


        scanf("%d %d", &x,&y);


        if(x==y)


        {


            break;


        }


        if(x>y)


        printf("Decrescente\n");


        else


        printf("Crescente\n");


    }


    return 0;


}





Post a Comment

0 Comments