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

what times what equals 88
Inorganic compounds are usually held together by _____ bonds. ionic covalent
The volume of a rectangular solid is 5/16 in ³. it length is 3/4 in. and the with is 1/2 in. what is the height
Let f(x) = 3x - 7 and g(x) = -2x -6. Find (f x g)(4) Include steps please.
Which of the following does inhaling agents such as coal dust cause? a.tuberculosis b.pneumonia c.bronchitis d.pulmonary fibrosis e.pulmonary tuberculosis
What is the Ku Klux Klan? a. a racist political party founded after the Civil War b. a racist social club founded before the Civil War c. a racist terrorist
Lillian finished playing with her kitten Waffle at 5:43pm.She took 94 minutes playing with Waffle.When did she start playing with Waffle.
Read the sentence. If you do not want to learn to juggle Matthew will show you where you can wait. After which word should a comma be placed? Matthew If juggle
Let f(x) = 3x - 7 and g(x) = -2x -6. Find (f x g)(4) Include steps please.
Which system protects us from radiation and the vacuum of space? a. geosphere b. hydrosphere c. atmosphere d. biosphere