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 supreme court defends a person’s right to use obscene and profane speech. true or false?
5+5=10-10-10-10-10+1
Select the correct answers. Which two pieces of information would most likely come from a secondary source about a novel? summary of an incident from the novel
An object starts at position -2m with an initial velocity of -4 m/s and a constant acceleration of +3 m/s^2. a. In which direction is the object traveling init
Tell the participle phrase in each sentence. One man, having made his point, walked away happy.
name the author the "the journey to the centre of the earth"​
I need help on history
name at least 4 factors needed for democracy to work
During a Zoom, Adeja and DaisJa offer the class HELP Is this a Direct Object Predicate Adjective Adjective Subject Predicate Nominat
Andrea built a circular barbecue pit with a circumferenceof 9 feet. She wants a rod to go across the pit to use for arotisserie. The rod must go from one edge o