1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sasho [114]
3 years ago
12

Assume that x is a char variable has been declared and already given a value. Write an expression whose value is true if and onl

y if x is a upper-case letter.
Mathematics
1 answer:
Lorico [155]3 years ago
4 0

Answer:

bool b = isupper(x);

Step-by-step explanation:

I have written the expression for a char variable x.The isupper(x) will return true if the character x is upper case and false if the character x is lower case.

I have stored the returned value to a bool variable b .So the value of variable b will be true only when the x is in uppercase and false when b is lower case.

You might be interested in
Given: ABCD trapezoid<br> BC=1.2m, AD=1.8m<br> AB=1.5m, CD=1.2m<br> AB∩CD=K<br> Find: BK and CK
stepladder [879]

Answer:

The value of BK is 3m and the value of CK is 2.4m.

Step-by-step explanation:

Given information: ABCD trapezoid

, BC=1.2m, AD=1.8m

, AB=1.5m, CD=1.2m

, AB∩CD=K.

Using the given information draw a figure.

Two sides of a trapezoid are parallel.

Since AB∩CD=K, therefore AB and CD are not parallel, because parallel line never intersect.

AD\parallelBC

\angle KBC=\angle KAD              (Corresponding angles)

\angle KCB=\angle KDA             (Corresponding angles)

By AA rule of similarity

\triangle KBC\sim \triangle KAD

Corresponding sides of similar triangles are proportional.

\frac{KB}{KA}=\frac{KC}{KD}=\frac{BC}{AD}

\frac{x}{x+1.5}=\frac{y}{y+1.2}=\frac{1.2}{1.8}

\frac{x}{x+1.5}=\frac{1.2}{1.8}

\frac{x}{x+1.5}=\frac{2}{3}

3x=2x+3

x=3

The length of BK is 3 m.

\frac{y}{y+1.2}=\frac{1.2}{1.8}

\frac{y}{y+1.2}=\frac{2}{3}

3y=2y+2.4

y=2.4

The length of CK is 2.4 m.

5 0
2 years ago
Read 2 more answers
What is the square root pi 4
Jet001 [13]
\sqrt{ \pi 4} = 3.544907702

Round to whichever place is needed

7 0
3 years ago
Read 2 more answers
-. A 6-foot-tall man is standing 50 feet from a flagpole. When he looks at the top of the flagpole,
taurus [48]

Answer:

The height of the flagpole is 46 feet

Step-by-step explanation:

First we find the ratio to connect the variables

Tan(∅) = opposite/adjacent

Plug in the Variables

Tan(39) = x/50

Solve for x

50*tan(39) = x

x = 40.48

Don't forget to include the man's height

40.48 + 6 = 46.48

7 0
3 years ago
I need help its the triangle sum theorem​
Dimas [21]
I think it might be C
4 0
3 years ago
Monique had $15. After paying for 6 pounds of squid, she had $3 left. Find the cost of 1 pound of squid.
katovenus [111]
12/6 which is 2$ per pound of squid
6 0
3 years ago
Read 2 more answers
Other questions:
  • brady has a card collection with 64 basketball cards, 32 football cards, and 24 baseball cards. he wants to arrange the cards in
    12·1 answer
  • Which shows a correct order to solve this story problem? The Diva Clothing Factory used 149.4 yards of fabric in 3 days. It used
    8·1 answer
  • Write an equivalent expression by distributing the "-−" sign outside the parentheses:
    9·1 answer
  • Which of the following equations does not represent a linear function?
    9·1 answer
  • Go Math Math Homework Lesson 8.4
    15·2 answers
  • Which values are solutions to the inequailty below ? check all that apply x2 &lt; 25
    9·1 answer
  • Which symbol replaces ? to make the statement true?
    13·2 answers
  • A museum groundskeeper is creating a semicircular statuary garden with a diameter of 21 feet. There will be a fence around the g
    9·1 answer
  • In AABC, what is the measure of angle B?
    6·2 answers
  • Evaluate the algebraic expression h + h when b = 3, d = 12, h = 2 and r = 7.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!