Skip to content

Commit afe3fb9

Browse files
author
ophicial-pauloski
committed
solved
1 parent 6dd44c4 commit afe3fb9

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed
Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
#include "main.h"
2+
#include <stdio.h>
3+
24
/**
3-
* _isupper - evalue if letter is uppercase .
4-
*@c: print int
5+
* main - check the code.
6+
*
57
* Return: Always 0.
68
*/
7-
8-
void print_most_numbers(void)
9-
{
10-
int i;
11-
12-
i = 0;
13-
14-
for (i =0; i < 10; i++)
9+
int main(void)
1510
{
11+
char c;
1612

17-
if (i == 2 || i == 4)
18-
19-
i++;
20-
21-
_putchar(i + '0');
22-
23-
}
24-
_putchar ('\n');
25-
13+
c = 'A';
14+
printf("%c: %d\n", c, _isupper(c));
15+
c = 'a';
16+
printf("%c: %d\n", c, _isupper(c));
17+
return (0);
2618
}

0 commit comments

Comments
 (0)