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

Order the events from least likely (1) to most likely (4) PLEASE HELP MEEE:)
Uh someone pls help me find the functions
what is the relationship between heat and temperature?
The following three investment opportunities are available. The returns for each investment for each year vary, but the first cost of each is $20,000. MARR is 9
If f(x) is an exponential function where f(3) = 18 and f(7.5) = 60, then find the value of f(12), to the nearest hundredth.
1. The figure shown is composed of a right triangle and a parallelogram. 25 points 4 m 0.5 m 3.2 m What is the area of the figure in square meters? (7.1B, 710,
what are the blood vessel and Chambers of the heart through which a molecule of glucose is absorbed through the gut passes on its way to an active muscle in the
Your friend says to you, "I think it's important not to gossip" but when you have a juicy piece of information about someone, that same person says, "I think it
Read this sentence from "President Obama's National Address to America's Schoolchildren." Students who sat where you sit 75 years ago who overcame a Depression
How does matter affect mass? Matter does not affect the mass of an object. Increasing mass can cause matter to decrease. The more matter an object contains the