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

Which solid figures have polygon bases? (Check all that apply.) prisms pyramids cylinders cones
Draw a clock showing a time to the nearest Minute write the time as many different ways you can
y-3= - 2/3(x+5) in standard form
How does plea bargaining help the judicial system?
Populists wanted decreased immigration because:
Please help!! How do I do this
What empire first became wealthy by controlling trade between North and South Africa? A. Ghana B. Mali C. Songhai D. Swahili
Milder forms of bipolar disorders are known as ______ disorders.
How does Social Reform relate to the Indian Removal Act?
What is the answer to 3 (x + 7) =