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

A certain population has 1,000 people in it. Which of the following numbers would be an appropriate number for a random sample? 1,000 900 200 10
mary has 12 marbles. 3/12 marbles. are yellow and 2/12 of the marbles are blue. The rest of the marbles are green. how many marbles are green??explain how you k
Translate the verbal phrase into an inequality. All real numbers that are greater than or equal to -1.5 and less than 9.2
What was important about Charles Martel's victory at the Battle of Tours
What is the meaning of the unknown factor or quotient
the distance between the sun and saturn is approximately six times the distance between the sun and which other planet?
Write these as an algebraic expression 1) 8 less than w 2) k less than 24 3) n divided by 8 4) 3 groups of w You dont have to answer them all
what do b times h mean
please help! i need to write sentences with the words comically and tropically
3x + 2 >= 11 I need to understand how to do it on a number line.