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 rectangle has a length of 26 inches and a width of 14 inches. If 1 inch = 2.54 centimeters, find the area of the rectangle in centimeters. Round the answer to
oranges cost $3.42 for 9 pounds at this rate how much would 12 pounds cost ?
public schools are free schools supported by_________?
What is the epipelagic zone of the ocean? A.A zone with no light that is freezing cold B. The bottom zone that reaches the sea floor C. The zone that receives t
Write the coordinates of the vertices after a transition 5 units right S= U= T=
During ___ of meiosis, ___ chromosomes pair up forming a ___. Crossing over occurs at this time as sections of ____ chromatids are exchanged. This exchange crea
Translate the sentence into an equation. Seven times the sum of a number and 6 is equal to 5. Use the variable b for the unknown number.
Evelyn has $638.54 in her checking account. She must maintain a $500 balance to avoid a fee. She wrote a check for $159.50 today. Write and solve an inequality
how many dogs in the world
Can anyone help me? A triangle has vertices at A(3,4), B(-3,2), C(-1,-4). Is the triangle a right triangle? Explain.