mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
changed README and corecct comment
This commit is contained in:
parent
64b5f4904b
commit
c1554af08c
@ -69,6 +69,7 @@
|
||||
- TowerOfHanoi
|
||||
- Greatest Common Divisor
|
||||
- Sudoku Solver
|
||||
- prime factorization
|
||||
|
||||
|
||||
## exercism
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
AUTHOR: Christian Bender
|
||||
DATE: 12.02.2019
|
||||
DESCRIPTION: This program calculates the prim factoriziation of a positive integer > 1
|
||||
DESCRIPTION: This program calculates the prime factoriziation of a positive integer > 1
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@ -17,8 +17,8 @@
|
||||
|
||||
/*
|
||||
this type is for the representation of the prim factoriziation
|
||||
- its series/range of prim factors
|
||||
- its length : numbers of prim factors
|
||||
- its series/range of prime factors
|
||||
- its length : numbers of prime factors
|
||||
*/
|
||||
typedef struct data
|
||||
{
|
||||
@ -27,7 +27,7 @@ typedef struct data
|
||||
} range;
|
||||
typedef range* Range;
|
||||
|
||||
/* int_fac : calculates the prim factoriziation of positive integers */
|
||||
/* int_fac : calculates the prime factoriziation of positive integers */
|
||||
Range int_fact(int);
|
||||
|
||||
/* print_arr : prints the integer (heap) array*/
|
||||
|
Loading…
Reference in New Issue
Block a user