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 movie starts at 7:00 pm and lasts 108 minutes. What time does the movie end?
A curved section of roadway is in the shape of a circular arc of 410-m radius. The curved section is horizontal, not banked. The coefficient of friction for tir
Convert the general form of the circle given into standard form. 2x^2 + 2y^2 - 20x - 8y + 50 = 0
in a parallelogram one angle is 9 times the size of another. find the measures of the angles
Add these fractions (Lowest Terms) a) 1/6 + 1/6 b) 1/4 + 3/8 c) 2/3 + 5/6 d) 9/21 + 4/7 e) 1 3/5 + 1/10 f) 1 1/4 + 11/12 g) 1 2/3 + 2/3 h) 1 5/6 + 3 2/5
where will you find maximum rate of evaporation - ocean, pond or an aquarium? Give reason to support your answer.
the graph below shows the distribution of students grades on their last math test. Based on the Empirical rule, what percent of students made.. *btwn 80 n 85 o
A curved section of roadway is in the shape of a circular arc of 410-m radius. The curved section is horizontal, not banked. The coefficient of friction for tir
Perimeter of a square with an area of 81cm2
where did japan first expand its empire after 1930