Browse Source

print the ggT of those two numbers

remotes/origin/ggT
cxnnqr 11 months ago
parent
commit
e783ed4f25
  1. 1
      src/ggT/main.c

1
src/ggT/main.c

@ -7,6 +7,7 @@ int main(){
int firstNum = usergetd("first number: ", 0, NULL); int firstNum = usergetd("first number: ", 0, NULL);
int secondNum = usergetd("second number: ", 0, NULL); int secondNum = usergetd("second number: ", 0, NULL);
int result = ggT(firstNum, secondNum); int result = ggT(firstNum, secondNum);
printf("The ggT is: %d\n", result);
return 0; return 0;
} }

Loading…
Cancel
Save