t5saisilishan t5saisilishan
  • 03-02-2017
  • Computers and Technology
contestada

Assume that x is a char variable that has been declared and already given a value . write an expression whose value is true if and only if x is a upper-case letter.

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 04-02-2017
#include <ctype.h>

int result;

result = ( toupper( x ) == x ) ? 1 : 0;
Answer Link

Otras preguntas

Name an equivalent ratio for 1/2 with a denominator of 8
In which way was the distinction "serf" different from that of "slave"?
How did the flying shuttle speed up the textile production process?
"what creates the basis for a simpler compensation system that de-emphasizes structure and places greater importance on flexible decision making"
The forest that grows in regions that receive continuous warm temperatures and seasonal rainfall is the ____. a. tropical rain forest b. temperate rain forest
A third-level heading of a memo is typically      A. typed in all capital letters. B. never followed by text. C. placed at the left margin of the memo. D.
A gerund is a verbal that ends in -ing and functions as a(n) _____. 1. adverb 2. verb 3. noun 4. adjective 5. preposition
. En el parque hace mucho viento. Llevo una _____. pantalones camiseta falda chaqueta
Mr. Randall bought 4 shirts, which were on sale. The shirts were originally priced $20 The sales price of the shirts was $5 less than the original price write a
Solve the triangle. B = 72°, b = 12, c = 8