Browse Source

Division Integer Struktur

master
Justin Trausch 11 months ago
parent
commit
2e4e77e8c0
  1. 5
      src/divsion.c

5
src/divsion.c

@ -1,7 +1,12 @@
#include "division.h" #include "division.h"
int divisionInt(int a, int b) { int divisionInt(int a, int b) {
if (b != 0) {
return a / b;
}
else {
return 0; return 0;
}
} }
double divisionDouble(double a, double b) { double divisionDouble(double a, double b) {

Loading…
Cancel
Save