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 question about whale sharks is nonscientific?
The light reaction of photosynthesis puts carbon dioxide into the form of carbonhydrates
Read the scenario below and answer the question that follows. Conrad and Terry have a prejudice against and hate for each other. A third party, Janice, arranges
Na figura, OC é bissetriz do ângulo AOB. A medida de BÔC está representada,em graus, por uma expressão algérica. A: Represente, por uma expressão algébrica, a m
Round 2,461,612,242 to the nearest billion
Sketch the graph of = 3 on the axes below:
Which of the following activities depend upon the availability of supplies of freshwater? a agriculture b bathing C drinking d all of the above
Based on the article,describe the relationship between population growth,consumption,and the environment
pls help 100 points i need this by today
Ram has 35 gel pens. He gives an equal number of pens to each of his 5 friends and has 10 pens left for himself.