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

If 2x and 120? are the pair of co-interior angle find the value​
Looks like only 60% of Congress favor my bill. Oh well. And you can forget an amendment!! What weakness of the Articles of Confederation is this?
Its my own question Directions: You can make this a 2 sentence answer or a 1 sentence answer. How do you feel when people would speak your name?
The graph of the quadratic function y=2x^2-4x+1 is pictured below along with the point P=(-1,7) on the parabola and the tangent line through P
When were the first supercomputers developed? 1950's 1940's 1970's 1960's
What is the mass of cirn syrup i added 9.8 ml to a bowl density of the corn syrup is 1.4 g
4. The zoo is 48 miles from your house. You are two thirds of the way there. How much further do you have left to travel before you arrive at the zoo?
40 POINTS PLEASE HELP! 1. Consider the system of equations 5x - 2y = 16, 15x - 7y = 51. Multiply the first equation by some constant, so that in the resulting e
PLS HELP I'LL MARK YOU BRAINLIST
A certain star is 2.5x10^2 light years from the Earth. One light year is about 5.9x10^12 miles. How far from the earth​ (in miles) is the​ star? (please use sci