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

please help show work 3√(125) -√(16) = ?
Change the following from an adjective to an adverb. suave suavamente suaveomente suavmente suavementeIts one of these choices .But I am not sure what it ca
Dinh finished part of her reading homework, reading 20 of the 25 assigned pages. Explain how to find the percent of her reading homework that Dinh completed.
PLEASE help!! Explain why images occur using the opponent-processing theory of color.
What are the functions of International organisations?
What is the best way to organize long pieces of writing such as research papers? Formal outlining, brainstorming, free writing
how many mol of hydrogen in 2.8 mol of caffeine.
how do the montague and capulet families contribute to the catastritrophe in romeo and Juliet
What happens to the composition of an atom to cause it to become positively or negatively charged?
Tool of thief, toy of queen. Always used to be unseen. Sign of joy, sign of sorrow. Giving all likeness borrowed. What am I? Don't look it up !