Identify the compiler errors in and state what is wrong with the code.

one compiler error in this code. The “If” statement must be “if”.
There are logic errors and possible warnings. The a << b is a shift operation and should not be in an if statement. The c == b will compile but is useless. Visual C++ reports this as a warning.


```
int a = 7, b = 9, c = 2;
If(a << b)
{
c == b;
}
```

Computer Science & Information Technology

You might also like to view...

Refering to the accompanying figure, which callout points to the column that alerts you to any printing problems?

A. A B. B C. C D. D

Computer Science & Information Technology

Write a complete program that prompts the user for the radius of a sphere, and calculates and prints the volume of that sphere.

Use an inline function sphereVolume that returns the result of the following expression: ``` (4.0 / 3.0 * 3.14159 * pow(radius, 3)). ```

Computer Science & Information Technology

____________________ is an HTML5-based app platform that allows designers to use Web technologies to author native mobile applications that can access native device features and can be placed in the app stores.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

____ view shows the page as it would appear in a browser and is primarily used for designing and creating a web page.

A. Code and Design B. Code C. Debugging D. Design

Computer Science & Information Technology