#cant understand this

10 messages · Page 1 of 1 (latest)

brisk radish
amber citrusBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

uncut crescent
#

!f

amber citrusBOT
#

also this
#include <stdio.h>

int main() {
  int a, b, c;

  for (a = 1; a <= 3; a++) {
    for (b = 1; b <= 3; b++) {
      if (b != a) {
        for (c = 1; c <= 3; c++) {
          if (c != b && c != a) {
            printf("%d, %d, %d\n", a, b, c);
          }
        }
      }
    }
  }

  return 0;
}
Noob
uncut crescent
#

what can we help explain

brisk radish
#

the loo thing

uncut crescent
#

I'd recommend working this out on paper, step through your code line by line

#

This will help you understand what's going on and build intuition

brisk radish
#

okay ill try