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 ASAP WILL MAKE BRAINLIEST
Chapter 10.1. Media Which of the following explain why a knowledge gap has formed in America as a result of cable news? CHOOSE WHETHER EACH OF THE FOLLOWING ANS
A man bought a house for Nx and sold itfor Ny. What was his profit?​
Will increasing length and cross-sectional area increase the resistance of an object?
Five friends equally shared half of one large pizza and 1/4 of another large pizza. What fraction of each pizza did each friend get? How do the two amounts comp
Which of the following statements are true? Select all that apply
is the state of matter with the highest temperature
What is the longest food chain in ( hawk, snake, mouse, meadow lark, grasshopper, grass)?
The method of tree ring dating gave the following years A.D. for an archaeological excavation site. Assume that the population of x values has an approximately
please help me i cannot understand these Questions