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

write a system of equations and solvea class of 195 students went on a field trip. They took 7 vehicles,some cars and some buses. find the number of cars and nu
What's the other term for: lacking respect; scornful
what we need to become success
write a system of equations and solvea class of 195 students went on a field trip. They took 7 vehicles,some cars and some buses. find the number of cars and nu
How do we use the Pythagoras theorem in "everyday life".
What would cause a decrease in the quality of circulating red blood cells
round to the nearest hundredth 5.6192
a subway train starts from rest at a station and accelerates uniformly at 1.8m/s^2 for 15 sec. then it runs at a constant speed for the next 35 sec. before dece
which designer started as a fashion illustrator before focusing on industrial design?
If X is the set of negative numbers and Y is the set of positive numbers, then the union of X and Y and 0 is the set of (A) all real numbers (B) all integers (C