Determine if the value of variable c is a digit. 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 << "\' "
<< (isdigit(c) ? "is a" : "is not a")
<< " digit" << endl;
```

Computer Science & Information Technology

You might also like to view...

Digital signature can be used in conjecture with other technologies to provide non-repudiations

a. true b. false

Computer Science & Information Technology

Give a command line for displaying the number of users currently logged onto your system

What will be an ideal response?

Computer Science & Information Technology