음계
#include using namespace std; int main(void) { int a[8] = { 1, 2, 3, 4, 5, 6, 7, 8 }; int b[8] = { 8, 7, 6, 5, 4, 3, 2, 1 }; int c[8]; int i = 0, j = 0; for (int i = 0; i > c[i]; while (1) { if (c[i] == a[i]) //c, a 요소 비교 { i++; if (i == 8) { cout