Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
694 B
8
Indexable
Never
#include <stdio.h>

//int main() {
//    int mone,mehane;
//    for(int i=10;i<100;i++){
//        for(int j=10;j<100;j++){
//            mone = i/10;
//            mehane = j%10;
//            if((double)mone/mehane == (double)i/j)
//                printf("%d/%d == %d/%d\n",mone,mehane,i,j);
//        }
//    }
//
//}


int main(){
    int num1,num2;
    int dig1,dig2;
    printf("Please enter two numbers\n");
    scanf("%d %d",&num1,&num2);

    int kofel=1,finalnumber=0;
    // dig1 = 123
    // dig2 = 456
    // 455666

    int dig2ahadot,dig1ahadot;

    while(dig2>0)
    {
        dig2ahadot = dig2%10;
        dig1ahadot = dig1%10;


    }

}
Leave a Comment