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

Find the area of a square whose perimeter is 128 cm​
State any five reasons why an entrepreneur may carryout Market survey​
Words to know Match each word with the phrase that best defines it. conformity the state of fitting in with social rules or expectations a person who buys somet
Is 0.7777... (REPEATING) rational or irrational? (NEED AN ANSWER ASAP) Which of these explains why: A.)It is the square root of a non-perfect square B.)It is a
Which of the following lines is not parallel to the graph of y=3x +9?
2+2+9x8 will give brainliest
Andre works as a waiter at a restaurant, where he earns $6 an hour plus tips. after 5 hours of work he has earned $60.20 Write the equation to represent his tot
Determine whether the triangles are congruent by sss sas asa aas or hl
Match each word to its meaning.​
64 points If you do my essay I’ll pay pal you 20 bucks which is half my money because I’m broke