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 are writing a persuasive essay in favor of banning vending machines in schools, which is a counterargument you might anticipate?
Which two numbers have a difference of 5 and a product of 3.36???
which city was located nearest the nile river delta
write words to match the expression. 24- ( 6+3)
Which two numbers have a difference of 5 and a product of 3.36???
write words to match the expression. 24- ( 6+3)
write words to match the expression. 24- ( 6+3)
what other areas beside egypt did the new kingdom pharoahs conquer
write words to match the expression. 24- ( 6+3)
Which two numbers have a difference of 5 and a product of 3.36???