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

HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
What does william goldings novel lord of the flies describe?
A cylindrical swimming pool has a diameter of 16 feet and a height of 4 feet. About how many gallons of water can the pool contain? Round your answer to the ne
Which strategy for using empathy involves telling the other person about a situation you experienced that's similar to his or her own?
Imagine you are trying to improve your self confidence. You have set yourself up to make a speech to a convention in three weeks, even though the thought of do
Find each Product mentally. Show the steps you used. (Distributive Property) Give all answers and number them. 1. 8×34       2. 5×47 3. 12×4 3/4     4. 8×3 3/4
Alex estimates the distance between his house and his grandparents house to be about 15000 meters. About how many kilometers away fom his grandparents house doe
the resistance of a fluid to flow is referred to as
What is the sum of 2x-5y
An interior angle and an exterior angle are adjacent. The exterior angle measures 113°. What is the measure of the interior angle?