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

**SHOULD BLACK HISTORY BE TAUGHT ALL YEAR?** Write a 2 paragraph argumentative response to this question. 1st Paragraph: should include a hook, background info
Which savings account will earn you the most money? One that earns simple interest monthly One that compounds interest daily. One that compounds interest month
If the sin 90° = 1, then which statement is true?
Send help...I know what to do but like...
1) Benjamin likes apple juice and orange juice equally well. If the apple crops are destroyed in a storm, how will this affect the demand of orange juice? a) Th
A student received a coupon for 11% off the total purchase price at a clothing store. Let c be the original price of the purchase. Use the expression below for
Respond to If you laugh with somebody, then you know you share something. By Trevor Noah
examine examples of personification in the ballad "The owl and the Cat," How is personification used in the ballad?
opposing sides of the latin american revolution
Given the following exponential function, identify whether the change represents growth or decay, and determine the percentage rate of increase or decrease. y=9