Skip to content

Commit a307a47

Browse files
author
ophicial-pauloski
committed
solved
1 parent 8fe0f24 commit a307a47

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#include <stdio.h>
2+
3+
/**
4+
* main - print single digit numbers
5+
*
6+
* Desciption: print single digit numbers
7+
*
8+
* Return: Always 0 (Success)
9+
*/
10+
11+
int main(void)
12+
{
13+
int i;
14+
15+
i = 48;
16+
17+
while (i < 58)
18+
{
19+
putchar(i);
20+
i++;
21+
}
22+
23+
putchar(10);
24+
25+
return (0);
26+
}

0 commit comments

Comments
 (0)