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

During World War II, the Battle of Stalingrad took place in __________. a. France c. the Pacific b. Germany d. the Soviet Union
Akkad's territory encompassed most of the Fertile Crescent. a. Yes b. No
Which World War II event occurred first? The United States dropped two atomic bombs on Japan. President Harry Truman was sworn in to office.
Eight less than a number doubled is twenty more than the number. What is the number?
True or false The Federal Reserve Bank is responsible for minting new coins.
herando cortes and francisco Pizarro were spanish conquistords
What is the discount of 97.99 83.30
How to measure Population Density?
what new skill made agriculture possible
if the mass is 180g and the volume is 90g what is the density