Answer:
1. C++ is fun
Explanation:
Writing the code more clear:
int number;
cin >> number;
if (number > 0)
cout << "C++";
else
cout << "Soccer";
cout << " is ";
cout << "fun" << endl;
On the IF line, the conditional expression is evaluated TRUE (11 > 0), so the string "C++" is printed.
Then, the ELSE sentence is not executed since the expression has been already evaluated as TRUE.
Notice there are no additional brackets, so only the line cout << "Soccer"; is considered inside the ELSE.
The two remaining lines are executed always.
The final result is:
C++ is fun
You use the keyword extends to acheive inheritence in java.
I got this answer from my parents
When you increase resolution, say from 1024x768 to 1280x1024, you have more pixels crammed into the same space. The info is still the same number of pixels in size.
I'm trying to solve this in the following jsfiddle: https://jsfiddle.net/0u9tqfr2/1/
body { background-image: url(...); }
#header { background-color: aqua; width: 800px; }
#sidebar { background-color: yellow; width: 200px; float: left }
#content { background-color: lightgray; width: 500px; }