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 attack on Pearl Harbor had which of the following consequences? France stopped supporting the Allied troops. The United States turned its back on German agg
Mainly need help with part A. No links, thanks!​
A sphere just fits inside a cube with edges 20 in. Long. What is the volume of the sphere? What is the volume of the cube? What is the volume of the space betwe
Which career requires on-the-job training or completion of a one-year technical program? A. biomedical equipment technician B. food services worker C. env
help ME pls.............
Consider the text and its central idea. Informational Text: People used to go to a music store to purchase their favorite song. They would drive to the store, s
Claire decided to find out which wildflowers are most abundant near roadsides in her community. Which of the following would BEST help Claire with her investiga
Read this sentence. If you oppose this bill, then you do not care about public safety.This is an example of​
what is the climate of south africa?
Draw a Punnett Square and demonstrate the parents blood type of the child has AB