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

order these numbers from least to greatest. −0.4 , 11 , 3.41 , −920
Which equivalence factor should you use to convert from 4.28 x 1019 molecules of oxygen (O2) to moles of O2?
Quick GOV Question: Which statement is true about the process of amending the Constitution? A It can only be instigated by the Supreme Court. B. It is st
which sentence contains an error in subject-verb agreement? heart and soul is the name of my brother’s band. the walls or the ceiling are going to be painted be
$2,000 after. 3 years at an interest rate of 2.5% is round up to the nearest cent
if the fundamental frequency of a certain string is 84 hz, what is the frequency of the second harmonic? 42 hz 84 hz 126 hz 168 hz
what is the answer to that one its 4 choices
A 72-kg fisherman in a 114-kg boat throws a package of mass m = 15 kg horizontally toward the right with a speed of vi = 5.0 m/s. Neglecting water resistance, a
the following sentence uses which principal part of the verb? she ate her lunch at a round table. past past participle present present participle
suppose you have a 1/10 chance of winning with a stretch off lottery ticket. if you buy 3 tickets what is the probability of winning all 3