Posts by Henrique Vieira Cavalcante • 1 point
1 post
-
-1
votes2
answers814
viewsA: Validate CPF - C language
Good evening, your problem is quite simple to be solved. The numeric characters of a CPF field range from 0 to 9 when using srand(), use: ``` srand() % 9 + '0' ``` So your random number will be…