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

Name one philosopher from the Enlightenment and the idea that he/she presented.
Can anyone please summarize this. Please do not copy the sentences from the text Thank you...
Can someone help me please
A train is traveling at 30 miles per hour. The train is supposed to stop at 1:35 WHY is the train?
A recent report states that 89% of Americans consider themselves above average drivers. A local newspaper is planning on conducting a survey to investigate whet
A local company is concerned about the number of days missed by its employees due to ill ness. A Random Sample of 10 employees is selected. The Number of days a
What is the equation in slope intercept form of the line that has a slope of -3 and passes through the point (0,5)
in the shawshank redemption the film and novella differ greatly in the way they handle the characters of Byron Hadley and Warden Samuel Norton. Which do you pr
Program that orbited man around the moon
I can't figure this question out can I please have help with this question please​