cxnnqr
|
5cf4056435
|
refactoring: added comments
|
11 months ago |
cxnnqr
|
edf2d87442
|
refactoring: added comments
|
11 months ago |
cxnnqr
|
550371fc9b
|
refactoring: changed print messages
|
11 months ago |
cxnnqr
|
7afe7b4230
|
Changed min Numbers to NULL because negative numbers can be handled too
|
11 months ago |
cxnnqr
|
de0b5f1b09
|
print the kgV
|
11 months ago |
cxnnqr
|
d9ad37c8d1
|
added function to get the kgV of the given numbers
|
11 months ago |
cxnnqr
|
a8ecd84db8
|
added functions to get two numbers by user
|
11 months ago |
cxnnqr
|
b9a89c98f2
|
included needed header files
|
11 months ago |
cxnnqr
|
533ab40c6f
|
added main.c
|
11 months ago |
cxnnqr
|
a8b6e1ea27
|
refactoring: refactored negative number handling into one line
|
11 months ago |
cxnnqr
|
7cf436571f
|
added function to ensure that the value of kgV is always positive
|
11 months ago |
cxnnqr
|
6ad2f3dae7
|
implemented case if at least one input is zero
|
11 months ago |
cxnnqr
|
77b6fbc704
|
refactoring: use ggT function from previous instead of new one
|
11 months ago |
cxnnqr
|
66f28def92
|
added simple algorithm for getting the kgV
|
11 months ago |
cxnnqr
|
124ecff740
|
implemented prototype function kgV(int a, int b)
|
11 months ago |
cxnnqr
|
8e6a9d1d51
|
created kgV.h file
|
11 months ago |
cxnnqr
|
6aad7be0b2
|
refactoring: simplified the zero cases
|
11 months ago |
cxnnqr
|
9ed80a6f35
|
refactoring: added comments for better understanding
|
11 months ago |
cxnnqr
|
d76b8867fe
|
added edge cases for one or both numbers = 0
|
11 months ago |
cxnnqr
|
1fdc737367
|
refactoring: changed to Euclidean modulo algorithm
|
11 months ago |
cxnnqr
|
8bb76200ce
|
implemented basic function for the ggT
|
11 months ago |
cxnnqr
|
e5293217a7
|
renamed from ggt.h to ggT.h
|
11 months ago |
cxnnqr
|
28e2262a26
|
added prototype function ggT(int a, int b)
|
11 months ago |
cxnnqr
|
3fa1f1877a
|
defined ggT.h
|
11 months ago |
TheUltimateOptimist
|
7cf9f0d312
|
refactoring: prefixed input retrieval functions with user
|
11 months ago |
TheUltimateOptimist
|
7a7fceb464
|
refactoring: created printInvalidNumberMessage function
|
11 months ago |
TheUltimateOptimist
|
d8af3aa1a5
|
refactoring: created isNumberValid function
|
11 months ago |
TheUltimateOptimist
|
8c334ca905
|
refactoring: combined trimLeft and trimRight in trim
|
11 months ago |
TheUltimateOptimist
|
2d2ac3545a
|
refactoring: replaced 1 with true
|
11 months ago |
TheUltimateOptimist
|
f5cda7cfc6
|
refactoring: exchanged printf with printText
|
11 months ago |
TheUltimateOptimist
|
26b0c9cc48
|
refactoring: moved printlf to top of file
|
11 months ago |
TheUltimateOptimist
|
d13e3280c0
|
refactoring: replaced printf with printText
|
11 months ago |
TheUltimateOptimist
|
cbb0248bfd
|
refactoring: updated printlf to return early if fakeinput was injected
|
11 months ago |
TheUltimateOptimist
|
a05cf45c9f
|
refactoring: made input injectable for testing purposes
|
11 months ago |
TheUltimateOptimist
|
8b9f4203d3
|
refactoring: renamed add_main.c to main.c
|
11 months ago |
TheUltimateOptimist
|
9f0ebb7fe5
|
added feature "add" as a skeleton to use for other features
|
11 months ago |
TheUltimateOptimist
|
7d7c150d50
|
fixed spelling mistake in userinput.h docs
|
11 months ago |
TheUltimateOptimist
|
791155b020
|
documentation: documented functions from userinput.h
|
11 months ago |
TheUltimateOptimist
|
f01127845b
|
refactoring: renamed getstr to gets
|
11 months ago |
TheUltimateOptimist
|
e8895cee2a
|
refactoring: renamed getull to getllu
|
11 months ago |
TheUltimateOptimist
|
0e9044cce9
|
refactoring: renamed getul to getlu
|
11 months ago |
TheUltimateOptimist
|
e2fb2c4835
|
implemented getlf
|
11 months ago |
TheUltimateOptimist
|
30cd3152c8
|
implemented getull
|
11 months ago |
TheUltimateOptimist
|
159fe0a017
|
implemented getul
|
11 months ago |
TheUltimateOptimist
|
f7166d349c
|
implemented getu
|
11 months ago |
TheUltimateOptimist
|
80aeacef8b
|
implemented gethu
|
11 months ago |
TheUltimateOptimist
|
501bedbf87
|
implemented getlld
|
11 months ago |
TheUltimateOptimist
|
3a00cb92d1
|
implemented getld
|
11 months ago |
TheUltimateOptimist
|
2729c4b9d2
|
implemented getd
|
11 months ago |
TheUltimateOptimist
|
d378fa1a31
|
implemented gethd
|
11 months ago |