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

Which describes the notation Tt for the trait of being tall? A. homozygous genotype B. heterozygous genotype C. homozygous phenotype D. heterozygous phenotype
what is a fraction of 42 is 7
Need help with 5 and 6 there is a picture below :)
if the ríbbon costs 10 cents per foot what is the total cost of ribbon in dollars
What number has 2 more tens than 40 and the same number of ones as 18
Mark each statement if it describes a Greek religious belief. A. A god or goddess could be a powerful ally or a terrible foe. B. The gods and goddesses sometime
Estimate the quotient by rounding the equation to relate to a one-digit fact 5134 / 721
The Alternative for the Americas agreement of the early 2000s is primarily aimed at A. excluding the United States from Latin America. B. creating a Latin Ame
what european mountain range did most crusaders cross
what country strictly controlled shipping and trade with the colonies and why