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

What is hyperbole? Please help
You hear a thunder 3 seconds after you see lightning. How far away is the storm?
Maria exercises for 2 1/7 hours every Saturday. She runs for 1/3 of the time that she exercises. How much time does she spend running every Saturday?
Why didn't the first stars to form have solar systems with Earth like planets and satellites?
Why might nations join together to remove trade barriers?
a long distance telephone company charges a rate of 8 cents per minute or 90 cent mininum charge per call, whichever is greater. Find the cost in cents per minu
What is Germany in German?
What does compris mean in French ???
How did the Romans rule differently from the Etruscans?
What is a Vector and a scalar?