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

A pair of corresponding angles are described as it follows, the measure of one angle is five less than seven times a number and the measure of the other angle i
I need to know how to solve
How many different numbers can you make out of 1,2,3 and they can't have two of the same numbers in 1 problem ( can't be decimals) I think it 15?
What motivation for exploration was shared by Spain, France and England? A.) religious reasons B.) peaceful life with the Native Americans C.) to divide th
What was included in the 1860 republican platform
​ ​ ​ ​​ ​−9x+3y=27 ​8x+8y=40 ​​
20 points!!!PLEASE HELP !!!! ON THIS QUESTION ABOUT TABACCO
"The beauty of the Trojan horse fooled many, but it's real power came from within" please explain this quote and how is relates to the topic "Beauty is skin dee
Compare and contrast the physical properties of solids, liquids, and gases.
Which type of money will be hard to travel with Commodity money Fiat money Representative money Foreign money