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

How do round, spiral, and rod-shaped bacteria look like?
how does art inspire some people
what is the theory that tax cuts can raise supply called
There are 6 pencils in a box. 3 of the pencils are red, 2 are blue and 1 is green. A pencil is taken out of the box without looking. What is the probability tha
Signs of Roman decline were manifested by agricultural and economic prosperity which undermined the values of Rome. the weakening of Rome's army which was force
Which statement best describes how the energy stored in ATP is released to drive biochemical reactions? a. Energy is released when the ribose sugar reacts with
does 20 hundredths equal 2 thousandths
You just priced what it would cost to buy vinyl floor tiles at the local tile store. They quoted you $3.29 per tile. When you went home you found the same exact
Give an example of oxidation reaction which can be a nuisance
You just priced what it would cost to buy vinyl floor tiles at the local tile store. They quoted you $3.29 per tile. When you went home you found the same exact