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

Carbohydrates are the main building block of tissues and organs. a. True b. False
While studying enzyme kinetics in the lab, a scientist observed that the rate of a reaction involving enzyme amylase increased as the concentration of starch in
Why are teens more susceptible to changing emotions?
CO2 + H2 -> CO + H2O What is being oxidized?
What instigated the sepoy rebellion
The commutator of a universal motor connects each armature coil to a. the rotor. c. the gearbox. b. the shaft. d. a brush.
The literary discoverer of the South Seas in the nineteenth century was _____. A.James Fenimore Cooper B. Ernest Hemingway C. Herman Melville
From your finding,what are the cause of xenophobic attacks referred?
How are Cicero’s writings different from Juvenal’s
How are the functions of vaccines and antibiotics different?