File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 69
69
- TowerOfHanoi
70
70
- Greatest Common Divisor
71
71
- Sudoku Solver
72
+ - prime factorization
72
73
73
74
74
75
## exercism
Original file line number Diff line number Diff line change 1
1
/*
2
2
AUTHOR: Christian Bender
3
3
DATE: 12.02.2019
4
- DESCRIPTION: This program calculates the prim factoriziation of a positive integer > 1
4
+ DESCRIPTION: This program calculates the prime factoriziation of a positive integer > 1
5
5
*/
6
6
7
7
#include <stdio.h>
17
17
18
18
/*
19
19
this type is for the representation of the prim factoriziation
20
- - its series/range of prim factors
21
- - its length : numbers of prim factors
20
+ - its series/range of prime factors
21
+ - its length : numbers of prime factors
22
22
*/
23
23
typedef struct data
24
24
{
@@ -27,7 +27,7 @@ typedef struct data
27
27
} range ;
28
28
typedef range * Range ;
29
29
30
- /* int_fac : calculates the prim factoriziation of positive integers */
30
+ /* int_fac : calculates the prime factoriziation of positive integers */
31
31
Range int_fact (int );
32
32
33
33
/* print_arr : prints the integer (heap) array*/
You can’t perform that action at this time.
0 commit comments