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.
```
if (age >= 65) {
cout << "Age is greater than or equal to 65" << endl;
else; {
cout << "Age is less than 65 << endl";
}
```
The semicolon after the else 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...
When an engineer configures a router with its IP address and mask, the router will automatically calculate the ________ and insert it into the routing table
A) Subnet broadcast address B) Subnet ID C) Network class D) Network inverse mask
Computer Science & Information Technology
____ requires that the processor be allocated to each job or to each process for a period of time and deallocated at an appropriate moment.
A. Cyclic programming B. Dedicated processing C. Multiprogramming D. Multi-core processing
Computer Science & Information Technology