#include <iostream>

int main() {

    using namespace std;

    int n = 88;

    int a = n%10;
    int b = n/10;
    int c = n/100+a+b;

    cout<<c;
    
    int d = c*2;
    
     if (d >=100) {
        int d = c/100;
     }

    if (d <= 50){
        cout<<"압축 성공";
    }
    else {
        cout<<"압축 실패";
    } 
}

Embed on website

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