|
@ -4,8 +4,8 @@ |
|
|
|
|
|
|
|
|
int main(){ |
|
|
int main(){ |
|
|
printf("add two numbers:\n"); |
|
|
printf("add two numbers:\n"); |
|
|
int firstNum = usergetd("first number: ", 0, NULL); |
|
|
|
|
|
int secondNum = usergetd("second number: ", 0, NULL); |
|
|
|
|
|
|
|
|
int firstNum = usergetd("first number: ", NULL, NULL); |
|
|
|
|
|
int secondNum = usergetd("second number: ", NULL, NULL); |
|
|
int result = kgV(firstNum, secondNum); |
|
|
int result = kgV(firstNum, secondNum); |
|
|
printf("The result is: %d\n", result); |
|
|
printf("The result is: %d\n", result); |
|
|
|
|
|
|
|
|