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

What is the mineral beryl used for except jeweler
WILL GIVE BRAINEST Identify one characteristic of exponential growth.
Summarize the rules for multiplying powers with the same base, dividing powers with the same base, and raising a power to a power.
Which is a complex carbohydrate found in plants? fiber saturated fat amino acid cholesterol
In your class, there are 12 students with brown eyes, 4 students with green eyes, and 3 students with blue eyes. What is the ratio of students with blue eyes to
3 meters by 4.5 meters by 6 meters
A loop within another loop is known as a(n) ____ loop.
what is x? x^2+(x+1)^2=145
Explain why the sediments deposited in the delta are arranged in layers
recommend an element use to fill bottles that contain ancient paper. the element should be a gas at room temperature, should be denser than helium, and should n