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

```
int Hurry = 17, m, n, o;
if(m < n)
o = Hurry;
n = o;
else
m = Hurry;

```


The compiler will complain about the else statement due to the n = o; line not being within { } for the if statement. Visual C++ reports an illegal else without matching if.

Computer Science & Information Technology

You might also like to view...

How do you insert a component of a PowerPoint slide into a Word document?

A) Use copy & paste, just as you would for a graphic. B) Use the Export feature from the File menu in PowerPoint. C) This is not possible without a PowerPoint transfer plug-in. D) This is not possible in Microsoft Word.

Computer Science & Information Technology

The Expression Web server type that allows groups to use workflow and collaboration features is ____.

A. WebDAV B. FrontPage Server Extensions C. FTP D. File System

Computer Science & Information Technology

Which of the following statements multiplies a variable by 16?

A. var << 2 B. var << 4 C. var << 16 D. var >> 2 E. var >> 4

Computer Science & Information Technology

?A Social Security number, an address, and an employee badge number are all examples of _____.

A. ?data anonymization B. ?personally identifiable information C. ?personally extracted data D. ?private data

Computer Science & Information Technology