-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path98.c
41 lines (35 loc) · 910 Bytes
/
98.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
#include <unistd.h>
void ft_putchar(char c){
write(1,&c,1);
}
void code(){
int i;
int j;
i= -1;
while(++i<=98){
j=i;
while(++j<=99){
ft_putchar((i/10)+'0');
ft_putchar((i%10)+'0');
ft_putchar(' ');
ft_putchar((j/10)+'0');
ft_putchar((j/10)+'0');
if(i!=98){
ft_putchar(',');
ft_putchar(' ');
}
}
}
}
int main()
{
printf("Hello World\n");
code();
return 0;
}