Browse Source

refactoring: added comment

remotes/origin/fakultaet
Hendrik Sitzmann 11 months ago
parent
commit
55b7448ec1
  1. 1
      src/fakultaet/main.c

1
src/fakultaet/main.c

@ -5,6 +5,7 @@
int main() { int main() {
// minInput is set to 0 so there won't be any negative numbers // minInput is set to 0 so there won't be any negative numbers
int minInput = 0; int minInput = 0;
// maxInput is set to 12 because 13 would be too big for int
int maxInput = 12; int maxInput = 12;
int number = usergetd("Enter a positive number below 13: "), minInput, maxInput); int number = usergetd("Enter a positive number below 13: "), minInput, maxInput);

Loading…
Cancel
Save