0
code MDC analysis (errors?)
#include <stdio.h> int main(void) { int n1,n2,resto; scanf("%d%d",&n1,&n2); resto=n1%n2; while(resto!=0);{ n1 = n2; n2 = resto; resto = n1%n2; } printf("%d",n2); return 0; }
0 Answers
#include <stdio.h> int main(void) { int n1,n2,resto; scanf("%d%d",&n1,&n2); resto=n1%n2; while(resto!=0);{ n1 = n2; n2 = resto; resto = n1%n2; } printf("%d",n2); return 0; }