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

4. Jenny got a job at the packaging plant for Lennox. Which sentence uses the word plant in the same way it is used above? Eucalyptus is a plant that is mainly
f(x)=x^2-8x+16 x and y intercepts and vertex
what type of triangle is angle is 118 and is 42 inches
Emily buys a toaster during the sale for 10% off. If Ellen pays $36, what was the original price?
Germany, Italy, and Japan formed an alliance called the
what was the modern-day state of Utah called during the civil war
What is the source of energy for our weather?
Hi I need some facts on cleo mussi
What is 0.60 as a fraction and a decimal of tenths?
derivative of this function Y= -7X³ -8X² +6X +3