Skip to content

Commit 0dbed1d

Browse files
committed
Solution to task 1
1 parent f175b54 commit 0dbed1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0x04-more_functions_nested_loops/1-isdigit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
int _isdigit(int c)
1212
{
13-
if (c >= 0 && c <= 9)
13+
if (c >= '0' && c <= '9')
1414
{
1515
return (1);
1616
}

0 commit comments

Comments
 (0)