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

the student council president wants to find out the opinion of the students on the issue of school lunch options. The president sends out a survey to a random
which property you used.64+58=                    +64
The gram formula weight of phosphoric acid is 98.00 g/mol, and the density of 85.0% phosphoric acid is 1.685 g/mL. Could you describe how ...
how many kilograms is in 12,321grams
which property you used.64+58=                    +64
A crime suspect fled the scene when police officers entered the building. How far could he run in 10 minutes if he can run 5 miles per hour?
Who were the British allies and how did they help them to win so many battles in the American Revolutionary
simplify expression.-3(k-4)-4(2k-8)
If every positive number has two square roots and you can find the length of the side of a square window by finding a square root of the area, why is there only
Write equation in function form y-3x-11=0