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

a large increase in gas prices creates a demand for cars with good gas milage. It takes months for car companies to make these cars. How do you describe this ma
PLEASE HELP, HISTORY!!!! How did the results of WWI benefit the U.S.?
PLEASE HELP, HISTORY!!!! Explain how Social Darwinism impact imperialism.
Can someone answer this question for me please
The 14th Amendment overruled the Supreme Court case of Dred Scott vs. Sandford. The landmark Supreme Court case determined which of the following points? A.Sl
Which statement from the declaration of independece best reflects the enlightment ideas of popular sovereignty
In which layer of earth do most earthauakes occur A_ inner core B_outer core C_mantle D_crust
Which of the following graphs could represent a cubic function?
A bag contains 10 white golf balls and 6 striped golf balls. A golfer wants to add 112 golf balls to the bag. He wants the ratio of white to striped gold balls
The layer of the atmospher where many airplanes would fly to avoid thundrrstorms and other turbulence is called