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

Fern rounded to the nearest ten to estimate 548-132. She subtracted 540-130 and got 410. Is Fern's estimate correct? Explain.
by what methods did paleolithic people get food?
Tell whether the set is closed under the operation indicated.If not closed, provide a counterexample.1.) integers under addition                            2.)
does 8 have more factors than 9
whats 168,356 rounded to the nearest ten thousand
what is the mathematical name for a can of soup.
What does your text mean when it says that the Constitution, "...elevated the ideals of the Revolution even while setting boundaries to them."?
Is 4.32 as a mixed number 4 32/100?
Three times a number plus twice another is 10, while their sum is 10, Find the numbers
graphs are used to show how the responding variable changes in response to the -------------------  variable.