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

In the company Educational Solutions, the ratio of the employees using a laptop computer to those not using one was 1:3 in the year 2005. In 2006, the number of
Convert y = x^2 + 2x - 5 into the form y-k = a( x- h)^2
if slope is 3/5 and y = -2 what is it in slope intercept form
DNA codes for proteins,which are the building blocks of organisms.What is the most abudant protein in the human body?​
Find the range of 4/3-t​
Symptoms of excessive stress include all of the following except
What does Jem say caused the events leading up to it (When Jem broke his elbow) In To Kill a Mockingbird?
(04.01 LC) Marneshia walked of a mile in of an hour. What equation can be used to calculate her unit rate in miles per hour? (1 point) Question 2 options: 1)
Simplify the expression $416.48÷4= $104.12 please
Analyze the following terms and phrases about solar activity. Select the two that represent correct matches between cause and effect.(1 point) a) solar activity