We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e892197 commit b5e6718Copy full SHA for b5e6718
0x02-functions_nested_loops/1-alphabet.c
@@ -0,0 +1,18 @@
1
+#include "main.h"
2
+
3
+/**
4
+ * print_alphabet - print all lower alpha
5
+ *
6
+ * Return: return nothing
7
+ */
8
9
+void print_alphabet(void)
10
+{
11
+ int c = 97;
12
+ while (c <= 122)
13
+ {
14
+ _putchar(c);
15
+ c++;
16
+ }
17
+ _putchar('\n');
18
+}
0x02-functions_nested_loops/main.h
@@ -1 +1,2 @@
int _putchar(char);
+void print_alphabet(void);
0 commit comments