logo

Crowdly

Browser

Add to Chrome

Що виведе програма, якщо користувач введе -3 ? #include <iostream> int main()...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Що виведе програма, якщо користувач введе -3?

#include <iostream>

int main() {

    int n;

    std::cin >> n;

    if (n > 0) {

        std::cout << "POS";

    } else {

        std::cout << "NONPOS";

    }

}

0%
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on do.ipo.kpi.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome