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

If you triple 4 and subtract 2 each day, how many days until you have zero?
What is the square rute of 81
Glycolysis is a body process which involves: a.the passage of water through a semipermeable membrane b.the division of the nucleus of a body cell c.the maintena
is 79,002 divisible by 6?
how can we tell when forces are acting on an object (science)
explain how to find 40×50 using mental math
how to find the volume of L blocks?
What is the ratio of x to y? 2 x ---- = -------- 3 3x+y
Which of the following are factors that might influence a person's political opinions? A. living in a metropolitan area B. working as a long-distance truck dri
Kelsie sold digital cameras on her website. She bought the cameras for $65 each and included a 60% markup to get the selling price. To the nearest dollar, what