Skip to content

Commit 78d1b43

Browse files
committed
betty style: 7-print_last_digit.c
1 parent 983919b commit 78d1b43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

0x02-functions_nested_loops/7-print_last_digit.c

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
int print_last_digit(int n)
1111
{
1212
int r = n % 10;
13+
1314
if (r < 0)
1415
{
1516
r *= -1;

0 commit comments

Comments
 (0)