Determine whether the value of c is a letter. Use the conditional operator to print " is a " or " is not a " when the result is displayed.

What will be an ideal response?


```
cout << '\'' << c << "\' "
<< (isalpha(c) ? "is a" : "is not a")
<< " letter" << endl;
```

Computer Science & Information Technology

You might also like to view...

What is the result of the following arithmetic expression?

7 – 2 * (4 + 1)

Computer Science & Information Technology

Rewrite the journal script of Chapter 8 (exercise 5, page 3) by adding com- mands to verify that the user has write permission for a file named journal- file in the user’s home directory, if such a file exists. The script should take appropriate actions if journal-file exists and the user does not have write permission to the file. Verify that the modified script works.

What will be an ideal response?

Computer Science & Information Technology

____ controls the overall spacing between letters in a given word or paragraph.

A. Kerning B. Tracking C. Leading D. Tracing

Computer Science & Information Technology

Click the ________ arrow in the Text group to access the Create from file option

Fill in the blank(s) with correct word

Computer Science & Information Technology