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

The length of an arc of a circle is equal to 1/5 of the circumference of the circle. If the length of the arc is 2π, the radius of the circle is
what kind of symbiotic relationship is showm between Dori and Marlin
During an investigation, a student determines that a copper sample has a density of 8.10g/mL. What is the student's percent error if the a ccepted density for c
2/5+4/7 estimate: decide if each addend is closer to 0 or closer to 1. then estimate the sum or difference. this is a fraction question.
what is the term for the condition where red blood shrivels?
13/20-3/10 estimate: closer to 1 or 0?
Lauren bought 20 ounces of sliced ham. she used 3/4 of the ham to make sandwiches for her friends and 1/5 of the ham in an omelet. how many ounces of ham were l
Why did immigrants tend to group together in cities?
type the requested verb form of this verb. future progressive tense: soar
Why did immigrants tend to group together in cities?