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

Lisosomas: Mitocondrias: ​
I don't understand this
Q6. Ask for two numbers. If the first one is larger than the second, display the second number first and then the first number, otherwise show the first number
A number is selected at random from {1, 2, 3} three times probability that 1 is selected at least once?
please help i am confused.
The agriculture is commercial in the USA and Canada.What should we learn from them to make our agriculture commercialized? Write in four points.​
The table displays the scores of students on a recent exam. Find the mean of the scores to the nearest ioth. Score Number of Students 55 8 60 6 65 3 70 4 75 9 8
¿Que son las Palabras variables?​
What is the proper way to use the omron blood pressure monitor
Patricia Works in a coffee shop and manages the inventory of items.for each item she needs to recover the quantity in stock and quantity sold how should she mai