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

Help please multiple choice.......
How was the Boston massacre used in propaganda?
A rectangles base is 9cm longer than its height. The rectangle's area is 90cm squared. Find this rectangle's dimensions.
Why is eDNA of special interest to conservation scientists, particularly those who track invasive species?
y=3/4x - 4 finding slope and y-intercept showing work
Greg uses information systems to design and manufacture products. this is an example of
Use the method of cylindrical shells to find the volume V generated by rotating the region bounded by the curves about the given axis. y = 3e^x, y = 3e^(−x),
Which describes the energy transformations for a radio? A. electrical to sound B. sound to chemical to electrical C. solar to thermal D. electrical to sound to
The time to fly between new york city and chicago is uniformly distributed with a minimum of 120 minutes and a maximum of 150 minutes. what is the probability t
Write 73 as a product of factors.