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

Imagine you sit down to dinner with your long-time friend and she tells you she is having jealousy issues in her marriage. her husband, whom you get along with,
Can you construct a triangle that has side length of 1 cm 15 cm and 15 cm
PLZ HELP ME ASAP! 12 POINTS Wesley is making a patio from stones of two sizes, 5 inches wide and 10 inches wide. he wants to begin and end his pattern with a 10
Find the width, 2x, of the V- Slot shown. Round to the nearest hundredth
Which type of context clue is usually offset by commas within a sentence?
what is the rational number equivalent to 3.24 repeating
____________ markup languages contain sets of directions that tell the browser software how to display and manage a web document.
How many neutrons are in a single atom of indium-115?
Find a cubic function with the given zeros. Square root of six., - Square root of six., -3
Article III of the U.S. Constitution designates only one United States A; judicial secretary B; associate justice C; inferior court D; Supreme Cour