Ask Question
28 November, 19:16

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.

+2
Answers (1)
  1. 28 November, 21:40
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers