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

Who is prince Henry
suppose you have ab on a coordinate plane located at a(-3,-4) and b(5,-4). under a dilation centered at (9,0), ab becomes a'b' with coordinates A'(6,-1) and B'(
Taylor and Jesse are buying a magazine for $3.75 and a snack for $2.49. What is the total cost of the two items?
use prime factorization to find the LCM of 30 and 40 ?
PLEASE!!!!!!!! 60 POINTS AND RATEINGS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Point of view is the perspective from which information is given to readers. Often writ
45 POINTS!!!!!!!!!! Which of the following is a factor of P(y) = 2y^3 - 11y^2 + 12y + 9? y + 3 y - 3 2x - 1 y - 7
PLEASE HELP! Write an algebraic expression for n times 2
What are living cells doing when they do cellular respiration?
Which geographic factor most limited the growth of Latin American unity of the early 19th century
True or False: When purchasing specialized equipment for a sport/activity you are just trying out for the first time, it may be best to purchase used equipment