#include <iostream>
using namespace std;

void find_big(){
    int arr[7] = {55, 43, 12, 4, 10, 14, 41};
    int big = arr[0];
    for (int i = 0; i<7; i++){
        if (big<arr[i]){
            big = arr[i];
        }
    }
    
    cout<<"가장 큰 수는 바로!!! : "<<big; 
}
int main() {
    find_big();
    return 0;
}

Embed on website

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