#include <unistd.h>
int ft_print_comb2(int c)
{
int a;
int b;
a = '0';
while (a <= 98)
{
b = a + 1;
while(b <= 99)
{
ft_print_comb2(b / 10 == '0');
ft_print_comb2(b % 10 == '0');
write(1, " ", 1);
ft_print_comb2(a / 10 == '0');
ft_print_comb2(a % 10 == '0');
if (a != 98)
{
write(1, ", ", 2);
}
b++;
}
a++;
}
}
int main(void)
{
ft_print_comb2();
return(0);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: