Hi this is my code and it does not work I want to do division of first number and second number (There are large number ==> 50 digits) it returns 0 when there are those inputs at top
#include <stdio.h>
#include<string.h>
//inputs a = "85548187429241610817174857069711212619572772836876"
//inputs b = "43488970802022113439274600911335838550652591258202"
int main() {
char a[50],b[50];
int r,q=0;
printf("1:");
scanf("%s",&a);
printf("2:");
scanf("%s",&b);
r=atoi(a);
if(atoi(a)<atoi(b)){return 0 ;}
while(r>atoi(b)){
q = q+1;
r = r-atoi(b);
}
printf("%d %d",q,r);
return 0 ;
}