Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void ft_putchar(char c);
- void ft_print_comb2(void)
- {
- int i;
- int j;
- i = 0;
- while (i <= 98)
- {
- j = i + 1;
- while (j <= 99)
- {
- ft_putchar((i / 10) + 48);
- ft_putchar((i % 10) + 48);
- ft_putchar(' ');
- ft_putchar((j / 10) + 48);
- ft_putchar((j % 10) + 48);
- if (i != 98 || j != 99)
- {
- ft_putchar(',');
- ft_putchar(' ');
- }
- j++;
- }
- i++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement