mirror of
https://github.com/Soccera1/agg.git
synced 2025-09-19 13:18:38 +02:00
remove math.h
This commit is contained in:
parent
8a6a1ef59a
commit
91f4508f8a
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@
|
|||
#include <time.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
int isvalidnumber(char entered []) {
|
||||
int valid = 1;
|
||||
|
@ -101,7 +100,7 @@ int main(void) {
|
|||
printf ("Divide %g by %g\n", num1, num2);
|
||||
result = num1 / num2;
|
||||
} else if (type == 3) {
|
||||
printf ("Subtract %g from %g\n", num1, num2);
|
||||
printf ("Subtract %g from %g\n", num2, num1);
|
||||
result = num1 - num2;
|
||||
} else if (type == 4) {
|
||||
printf ("Multiply %g by %g\n", num1, num2);
|
||||
|
|
Loading…
Add table
Reference in a new issue