Answer:
C++ is fun will be the output segment .
Step-by-step explanation:
The following are the description of the statement .
- In the given statement we declared a variable "number" of "int" type.
- Read there value by the user in the "number " variable.
- After that, there is if block since as mention in the question the value of the number variable is 11 so the if block condition is executed and print C++ on the console.
- Finally, the rest of the statement is executed which is after the else block it means it print is fun is printed on the console.