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

Solve for the variable y and have it as y=?
The length of a rectangle is 3cm more than twice it's width. The perimeter of the rectangle is 65 square cm. Determine the length and width of the rectangle
Is ten a mltiple of twenty
ok ok , can anyone please help this miserable individual complete this asssignment in the app of current event events ( newsela )(actually just the quiz part )
one leg of a right triangle is seven feet more the other leg.If,the hypotenyse of the right triangle is 13 feet,find the length of each leg....
A group of hikers walked 2 1/4 km in 3/4 hour. How far will they go if they maintain the same pace for: 2 hours?
During the exchange of air in your lungs, oxygen is being taken into your bloodstream while this substance is being released microorganisms carbon dioxide*** p
​Performance on tests like the Scholastic Aptitude Test and the Graduate Management Admissions Test is likely to be most closely related to
what's 23 ×50 so yeah
1: To solve -9 - 16m = 7, what steps would you use? 2: To solve -3 = -19 + , what steps would you use?