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

Round 6,529 to the nearest thousands
is 8.33333333 a rational or irrational number
The area of a rectangle is 60 square inches. The length of the rectangle is 7 inches longer than the width. Which equation models the situation? a. w+7=60 b.
What Two decimals are equivalent to 0.9
order the numbers from greatest to least 56.01, 56.1, 56.011
Maggie has a ribbon 27 feet long. What is the length of the ribbon in yards? Equation : answer :
National governments have more power than any other human institution in the world. Why do you think this is the case?
Which three major rivers flow through the land claimed by france
The rise of China’s naval power under Admiral Cheng-Ho occurred during the _______ dynasty. A. Ming B. Zhou C. Qin D. Tang
When you solve a problem involving money, what can a negative number represent