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
I need help with adding letters and numbers into the diagram <br><br> m<br> m
Alenkasestr [34]

any combination would work out. the most common is x and y. or you may use f(x) and x.

4 0
3 years ago
You pack sandwiches for a mountain hike with your friends. each sandwich takes 2 slices of bread, and you pack 3 sandwiches for
Brrunno [24]

2*3n  would be the equation.

6 0
3 years ago
From among the 300 largest cities in the United States, the FleeceU Auto Insurance Company identified the 10 safest and 10 least
Anastaziya [24]

Answer:

7

Step-by-step explanation:

I just want points

8 0
2 years ago
Pls help!!
masha68 [24]

Answer:

51.9 cm²

Step-by-step explanation:

From the diagram attached,

Area of the white region(segment)(A) = Area minor sector- area of the triangle

A = (πr²∅/360°)-(1/2r²sin∅)............... Equation 1

Where r = radius of the circle, Ф = reflex angle formed at the center of the circle, π = pie

From the question,

Given: r = 7 cm, Ф = 150°

Constant: π = 22/7

Substitute these values into equation 1

A = [(22/7)×7²×150/360]-[(1/2)×7²×sin150]

A = 64.17-12.25

A = 51.92

A = 51.9 cm²

5 0
3 years ago
Create a linear function that has a rate of change of -4 and a solution at (-5,2)
san4es73 [151]

You would use the point-slope equation of y-y₁=mx(x-x₁)

So the rate of change is the slope and equals m, so m=-4

and has a solution at (-5,2) which would be the (x₁, y₁) and then it is just plugging in the numbers

y - (2) = (-4)(x - (-5))

y - 2 = -4 (x+5)

y - 2 = -4x - 20

y = -4x - 18

8 0
3 years ago
Other questions:
  • The arcade has a floor that is 120 feet by 75 feet. A scale drawing of the floor on grid paper uses a scale of 1 in: 5. Feet. Wh
    8·1 answer
  • You drive 351.6 miles using 16.4 gallons of gasoline. At this rate, how many gallons of gasoline would you need to drive 1000 mi
    8·1 answer
  • Garrett has one dollar less than three times as much money as Liz has. Together they have $179. What equation would you set up t
    11·1 answer
  • Find the volume of the cone. Round your answer to the nearest tenth
    8·1 answer
  • Josiah has a loyalty card good for a discount at his local grocery store. The item he
    14·2 answers
  • PLZ HELP ASAP!! Find the Area
    6·1 answer
  • What is the COEFFICIENT in the expression s + 16?
    7·2 answers
  • Solve the equation using the Properties of Equality.<br><br> 12 − c = −10<br><br> c =
    5·1 answer
  • How many solutions are there to the equation below?<br> 5x + 15 = 5(x+4)
    9·1 answer
  • With negative numbers, how do we know when the negative sign indicates that it is a subtraction or it is a negative number?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!