Ask Question

Write an if-else statement to describe an object. print balloon if isballoon is true and isred is false. print red balloon if isballoon and isred are both true. print not a balloon otherwise. end with newline.

+3
Answers (1)
  1. 17 November, 13:43
    0
    Try this:

    #include

    using yourname std;

    int main () bool isRed = false;

    bool isBalloon = false;

    //Solution below

    return 0; }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write an if-else statement to describe an object. print balloon if isballoon is true and isred is false. print red balloon if isballoon and ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers