What will the output look like?
``` int main( )
{
int x = 10;
if(x > 5)
{
if( x == 7)
{
cout<<”x is 7”;
}
else
{
cout<<”x is not 7”;
}
}
else
{
cout<<”x is not > 5”;
}
return 0;
}```
A. x is not > 5
B. x is not 7
C. x is 7x is not 7
D. Nothing. The statement is written incorrectly.
B
You might also like to view...
Answer the following statement(s) true (T) or false (F)
1. Easing out means to start an animation slowly and then speed up. 2. A large negative Ease value causes the animation to start slowly and then speed up. 3. The stage is a type of mask. 4. The mask layer must be positioned below the layer to be masked. 5. You can set the rotation of a motion tween animation, which allows an animated symbol to spin or turn.
The TCP/IP protocol stack contains __________ layers.
a) two b) three c) four d) seven
A small photographic print inserted into a projector that uses light to project the image on a wall or a screen displayed in front of a wall is called a(n) ________
Fill in the blank(s) with correct word
Which answer is an updated version of the system BIOS to allow such things as booting without a keyboard attached and antivirus software as part of the BIOS?
A) eBIOS B) BIOS-X C) uBIOS D) UEFI