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

Using Plurals, Possessives, and Contractions Write three sentences for each of the following words. In the first sentence use the plural form of the word. In t
Under the fugitive slave act of 1793, what would happen to someone who knowingly helped a person running away from slavery?
ID BONE Articulates With? Articulates with? ID BONE Articulates With? wje​
A rectangular array of cabbage plants in a field had 6,489 plants arranged in 9 rows
PLEASE HELP!! How does the interaction between the hydrosphere and the geosphere affect the supply of drinking?
Find the perimeter of this triangle
should we limit school screen time
5. What is the relationship between Jesse Owens' attitude and his success as a runner?
What is 2.4% written as a decimal? O 0.0024 O 0.024 O 0.24 0 2.4
Which conclusion about the HIV infection of a host cell is best supported by the diagram? A. It takes place outside of living cells. B. It relies on the host ce