anyaimartinez623 anyaimartinez623
  • 19-08-2019
  • Mathematics
contestada

Assume that x is a char variable 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 :

ExieFansler ExieFansler
  • 02-09-2019

Answer:

bool b = isupper(x);

Step-by-step explanation:

I have written the expression for a char variable x.The isupper(x) will return true if the character x is upper case and false if the character x is lower case.

I have stored the returned value to a bool variable b .So the value of variable b will be true only when the x is in uppercase and false when b is lower case.

Answer Link

Otras preguntas

why does the spinning earth not eject us all into space
ideas of the enlightment often came into conflict with what
(Write an inequality to solve this problem, 13.2 Independent Practice) Pierre's parents ordered some pizzas for a party. 4.5 pizzas were eaten at the party. The
riley can swim 1/2 mile in 3/4 hour. what is the unit rateof miles per hours
Estimate the quotient by rounding the expression to relate to a one digit fact
In the real world of brand recognition and popularity, _______ accounts for the fact that mediocre products and services often trump quality.a- lower costb-cons
What protect and keep the airway open in your lungs?
the offical count of people of a country is called a
what is the Missouri Compromise?
In the real world of brand recognition and popularity, _______ accounts for the fact that mediocre products and services often trump quality.a- lower costb-cons