We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd44c4 commit afe3fb9Copy full SHA for afe3fb9
0x04-more_functions_nested_loops/0-isupper.c
@@ -1,26 +1,18 @@
1
#include "main.h"
2
+#include <stdio.h>
3
+
4
/**
- * _isupper - evalue if letter is uppercase .
- *@c: print int
5
+ * main - check the code.
6
+ *
7
* Return: Always 0.
8
*/
-
-void print_most_numbers(void)
9
-{
10
-int i;
11
12
-i = 0;
13
14
-for (i =0; i < 10; i++)
+int main(void)
15
{
+ char c;
16
17
-if (i == 2 || i == 4)
18
19
-i++;
20
21
-_putchar(i + '0');
22
23
-}
24
-_putchar ('\n');
25
+ c = 'A';
+ printf("%c: %d\n", c, _isupper(c));
+ c = 'a';
+ return (0);
26
}
0 commit comments