Identify and correct the error(s) in each of the following:

```
if (age >= 65); {
cout << "Age is greater than or equal to 65" << endl;
}
else {
cout << "Age is less than 65 << endl";
}

```


The semicolon at the end of the if condition should be removed. The closing double quote after the second endl should be placed after 65.

Computer Science & Information Technology

You might also like to view...

The first step to changing the tab order on a form is to open the form in ____________________ view.

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

Computer Science & Information Technology

____________________ is software that is embedded into hardware to control the device.

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

Computer Science & Information Technology

A(n) ____________________ allows you to connect the keyboard, video, and mouse signals from two or more computers to a single keyboard, video monitor, and mouse.

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

Computer Science & Information Technology

Which of the following is not a category of functions?

A. Logical B. Financial C. Statistical D. Graphing

Computer Science & Information Technology