Browse Source

Division Double Struktur

master
Justin Trausch 11 months ago
parent
commit
24b707b24c
  1. 7
      src/divsion.c

7
src/divsion.c

@ -10,7 +10,12 @@ int divisionInt(int a, int b) {
} }
double divisionDouble(double a, double b) { double divisionDouble(double a, double b) {
return 0;
if (b != 0) {
return a / b;
}
else {
return 0;
}
} }
int divisionByTwo(int a, int b) { int divisionByTwo(int a, int b) {

Loading…
Cancel
Save