#include <iostream>
using namespace std;
int main() {
    int number[10] = {34, 78, 12, 90, 23, 67, 45, 89, 11, 56};
    // cout<<"홀수 인덱스 요소: ";
    // for (int i = 0; i<=10; i++) {
    //     if (number[i] % 2 == 1) {
    //         cout<<number[i]<<' ';
    //     }
    // }
    
    // for (int i = 5; i<=9; i++) {
    //     cout<<number[i]<<' ';
    // }
        for (int i = 0; i<=10; i++) {
            if (number[i] % 2 == 0){
                
            
        }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: