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

Q4. One third of a large number of marbles in an urn are red. Three marbles are chosen, without replacement, from the urn. Find the probability of getting at le
Can you solve this challenging activity?
using elimination method solve ]4x-y-7=0 4x+3y-11=0]
I needdddddd Help now!
have you ever been to a circus ❓if yes what types of things did you see there ❓if no , what types of things do you think you will find at the circus ❓talk to yo
When an integer is subtracted from 7 times next consecutive even integer, the difference is 50. Find the value of the lesser integer
Answer of those questionsDon't give random answer​
Solve the following equation for n. n+18=m
. Which is NOT an important industry in California, Texas, Florida, or Pennsylvania
What is the answer to 5+x/9=4