mirror of
https://github.com/Soccera1/agg.git
synced 2025-09-20 21:57:04 +02:00
fix sub
This commit is contained in:
parent
f41ca5d92e
commit
8d1c88ec5b
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ int main(void) {
|
||||||
printf ("Divide %g by %g\n", num1, num2);
|
printf ("Divide %g by %g\n", num1, num2);
|
||||||
result = num1 / num2;
|
result = num1 / num2;
|
||||||
} else if (type == 3) {
|
} else if (type == 3) {
|
||||||
printf ("Subtract %g from %g\n", num2, num1);
|
printf ("Subtract %g from %g\n", num1, num2);
|
||||||
result = num1 - num2;
|
result = num1 - num2;
|
||||||
} else if (type == 4) {
|
} else if (type == 4) {
|
||||||
printf ("Multiply %g by %g\n", num1, num2);
|
printf ("Multiply %g by %g\n", num1, num2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue