Skip to content

Commit 6f9f27a

Browse files
committed
added 5 c-files
1 parent 672d90b commit 6f9f27a

File tree

9 files changed

+109
-0
lines changed

9 files changed

+109
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#include <stdio.h>
2+
3+
/**
4+
* main - Entry point
5+
* author: IamNaeto
6+
* Return: Always 0 (Success)
7+
*/
8+
int main (void)
9+
{
10+
char naeto;
11+
12+
for (naeto = 'a' ; naeto <= 'z' ; naeto++)
13+
{
14+
if (naeto != 'q' && naeto ! = 'e')
15+
putchar(naeto);
16+
}
17+
putchar('\n');
18+
return (0)
19+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <stdio.h>
2+
3+
/**
4+
* main - Entry point
5+
* author: IamNaeto
6+
* Return: Always 0 (Success/correct)
7+
*/
8+
int main(void)
9+
{
10+
int naeto;
11+
12+
for (naeto = 0; naeto < 10; naeto++)
13+
{
14+
print("%d", naeto);
15+
}
16+
printf("\n");
17+
return (0);
18+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
##include <stdio.h>
2+
3+
/**
4+
* main - Entry point
5+
* author: IamNaeto
6+
* Return: Always 0 (Success)
7+
*/
8+
int main(void)
9+
{
10+
int naeto;
11+
12+
for (naeto = 48; naeto < 58; naeto++)
13+
putchar(naeto);
14+
putchar('\n');
15+
return (0);
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#include <stdio.h>
2+
3+
/**
4+
* main - Entry point
5+
* author: naeto
6+
* Return: Always 0 (Success)
7+
*/
8+
int main (void)
9+
{
10+
char naeto;
11+
12+
for (naeto = 'z' ; naeto >= 'a' ; naeto--)
13+
putchar(naeto);
14+
putchar('\n');
15+
return (0);
16+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <stdio.h>
2+
/**
3+
* main - Entery point
4+
* author: IamNaeto
5+
* Return: Always 0 (Success)
6+
*/
7+
int main(void)
8+
{
9+
int naeto;
10+
char charlie;
11+
12+
for (naeto = 48 ; naeto < 58 ; naeto++)
13+
putchar(naeto);
14+
for (charlie = 'a' ; charlie <= 'f' ; charlie++)
15+
putchar(charlie);
16+
putchar('\n');
17+
return (0);
18+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include <stdio.h>
2+
/**
3+
* main - Entry point
4+
* author: IamNaeto
5+
* Return: Always 0 (Success)
6+
*/
7+
int main(void)
8+
{
9+
int naeto;
10+
11+
for (naeto = 48 ; naeto < 58 ; naeto++)
12+
{
13+
putchar(naeto);
14+
if (naeto ! = 57)
15+
{
16+
putchar(',');
17+
putchar(' ');
18+
}
19+
}
20+
putchar('\n');
21+
return (0);
22+
}

0 commit comments

Comments
 (0)