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

Suppose that 2 scientists use different measurement systems in their work. What problems might arise if they shared their data?
Anyone know how to do this kind of algebra?  Compute the discriminants of the next two quadratic equations. Compare the result in (A) to that in (B). What do y
what is 69/25 as a terminating decimal
For this assessment, you will be taking Newton’s laws and describing how they are illustrated in a specific event. You only need to choose one of the options pr
help me the area of a rectangular roof of a doghouse is 756 square inches. the length of the roof is 108 inches. how many inches wide is the roof? show the math
which property you used.64+58=                    +64
What is the molecular formula of a compound made of 25.9% N and 74.1% O? a. NO  b. NO₂ c. N₂O  d. N₂O₅ e. N₂O4₄ It would be great if you could add a few words
What is a scale on a map?
What Was Jackson’s perspective on the McCulloch v. Maryland Supreme Court Case
hey guys i know this seems long but i really need the help so plzz]Step 1: Write five word phrases to be translated using the various key terms from the lesson.