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

even questions please
A _______ is placed at the beginning of a staff to show the exact pitch of each line and space.
A particular baseball pitcher throws a baseball at a speed of 39.1 m/s (about 87.5 mi/hr) toward home plate. We use g = 9.8 m/s2 and ignore air friction. (a) As
Did the railroads in us history exploit farmers and workers or give them a more free and better life
When mik has an absolute advantage in the production of two goods over tommy, mik?
60 is 5 times greater than k expression
why did the spanish want to colonize the America's
Find the center and radius of the circle described by x2 + y2 − 6x + 12y − 19 = 0
Read the following thesis statement about text messaging. Text messaging while driving is dangerous, and making it against the law in many states would be a go
Belinda is digging a round flower garden in her backyard. She has 19 feet of rubber edging to place around the garden. what is the area of the new garden?