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 constitutional monarchy provides what power of monarch
What is the value of of angle BAD: 30◦ 5◦ 15◦ 20◦
In Equiano’s autobiography, what is his first impression of the slave traders when he arrives at the port? Select all that apply. He wonders if they are going
How many countries border Russia?
Find the value of two numbers if their sum is 138 and their difference is 8.
One soccer team defeated another by 4 goals. The total number of goals scored bu both teams was 8. How many goals, g, did the losing team score? How many goals
,Florida convicted how many people of dui in a one year. From 2009 to 2010 10,839 36,872 45,098 63,019
Please Help!! Find the measure of angle 2. Image Attached
If a company has advance ticket sales totaling $2,000,000 for the upcoming football season, the receipt of cash would be journalized as:
David Payne was prosecuted for his second intrusion of Indian Territory, and the trial was overseen by Judge ___________. A. William Couch B. Samuel Crocker