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

How long do you usually have to stay with an exercise program to notice significant changes?12 weeks8 weeks4 weeks1 week (btw my test says its not 8 weeks)
FUN POP QUIZ: will make you brainless the first person to answers it. What is Spongbob SquarePants boss at the Krusty Krab
4.Why were troops unable to advance on the western front during WWI?
Survey question: What is your favorite sport? The sample is chosen from people attending a soccer game. Is this biased or unbiased?​
What is the main fitness goal of the stabilization phase? building flexibility building power building strength building endurance
What was the experience of minority groups during the Great Depression? a. They experienced increased discrimination because of the competition for jobs. b. T
Helen's mother runs the carpool. Her mother picks up 2 girls at each of 3 different stops. How many girls did Helen's mother pick up for the carpool?
I Need Help!!!!!!!!!!!!!!
Which point is part of the solution of the inequality y<=|x+4|-3
???? Help me pleaseee