Skip to content

Commit 84aef96

Browse files
author
ophicial-pauloski
committed
solved
1 parent bb0755a commit 84aef96

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 the letters of the alphabet
5+
*
6+
* Description: print the letters of the alphabet except e, q
7+
*
8+
* Return: lways 0 (Success)
9+
*/
10+
11+
int main(void)
12+
{
13+
int i = 0;
14+
15+
while (i < 48)
16+
{
17+
if (i < 10)
18+
putchar(i + '0');
19+
else if (i > 41)
20+
putchar(i - 10 + 'A');
21+
i++;
22+
}
23+
putchar(10);
24+
25+
return (0);
26+
}

0 commit comments

Comments
 (0)