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

how many four-digit numbers are possible in which the leftmost digit is odd, the rightmost digit is even, and all four digits are different
Brianna types 165 words in 5 minutes.
why is poaching a serious problem
How are the dividend and divisor of a division expression related to the parts Of a fraction
I really need help in this one I'll followback
what is 3/8 times 9/18 ?
What is number 9 I can't figure it out
Mr. jones has agreed to borrow $3500 for one year st 10% interest. what is the total amount he will pay back to the bank?
(-2x-1)^2=0 How to solve brackets, please help
67 is what percent of 456