mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-21 21:11:57 +03:00
fix: Revert "fix: LGTM warnings/alerts" commit
This commit is contained in:
parent
b6cc0c5601
commit
fb778074c7
@ -41,7 +41,7 @@ int main(int argc, char *argv[])
|
|||||||
// printf("1/%-4u\t ", deno);
|
// printf("1/%-4u\t ", deno);
|
||||||
unsigned short index = 0, num_digits;
|
unsigned short index = 0, num_digits;
|
||||||
|
|
||||||
while (true)
|
while (rem != 0)
|
||||||
{
|
{
|
||||||
rem = (rem * 10) % deno;
|
rem = (rem * 10) % deno;
|
||||||
if (rem == 0)
|
if (rem == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user