algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Fixed logical error in count.c

Open EcSolticia opened this issue 10 months ago • 0 comments

Previously, the conditional would check for an impossible condition (i == num + 1), making its block ineffective. The proposed update correctly inserts "]" after the counting is done for num > 20.

EcSolticia avatar Dec 26 '24 07:12 EcSolticia