answer.
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]
2 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]2 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
Yuri is thinking of a 4-digit whole number. He rounds his number to the nearest thousand. His answer is 4000, what is the smalle
konstantin123 [22]

Answer:

Smallest number = 3500

Step-by-step explanation:

Rounding of numbers involve replacing numbers with simpler numbers. In order to round a number to the nearest thousand, the last 3 digits of the number should be considered. If the last 3 digits are less than 500, the number is rounded down(the thousand figure is unaffected), but if the last 3 digits are greater or equal to 500, the number is rounded up.

In this case, Yuri is thinking of a 4-digit whole number and he rounds his number to the nearest thousand. Since his answer is 4000, the smallest number yuri could be thinking of would be 3500 and the highest number he could be thinking of is 4499.

Thus, the smallest number Yuri could be thinking of is 3500

6 0
2 years ago
Which expression is equivalent to the expression below? StartFraction m + 3 Over m squared minus 16 EndFraction divided by Start
Kamila [148]

Option B: \frac{1}{(m-4)(m-3)} is the correct answer.

Explanation:

The given expression is \frac{(\frac{m+3}{m^2-16}) }{(\frac{m^2-9}{m+4} )}

Simplifying the expression, we have,

\frac{m+3}{m^{2}-16}\times\frac{m+4}{m^2-9}

Factor the equations, m^{2}-16\right and m^{2}-9,we get,

m^{2}-16\right=m^{2}-4^{2}=(m+4)(m-4)

m^{2}-9=m^{2}-3^2=(m+3)(m-3)

Substituting these factored expressions in the above expression, we have,

\frac{m+3}{(m+4)(m-4)}\times\frac{m+4}{(m+3)(m-3)}

Cancelling the common terms m+3 and m+4 , we get,

\frac{1}{(m-4)(m-3)}

Thus, the expression equivalent to \frac{(\frac{m+3}{m^2-16}) }{(\frac{m^2-9}{m+4} )} is \frac{1}{(m-4)(m-3)}

Hence, Option B is the correct answer.

3 0
2 years ago
Read 2 more answers
Harriet earns the same amount of money each day. Her gross pay at the end of 7 work days is 35h + 56 dollars. Which expression r
scoray [572]
<span>In the question "Harriet earns the same amount of money each day. Her gross pay at the end of 7 work days is 35h + 56 dollars. Which expression represents her gross pay each day" To obtain the expression that represents her gross pay each day, we divide the given expression by 7 to get (35h + 56) / 7 = 35h / 7 + 56 / 7 = 5h + 8 Therefore, the expression that represents her gross pay each day is 5h + 8.</span>
8 0
2 years ago
Read 2 more answers
each transformation is performed on the line with the equation y=2x-1. write the equation of the new line. vertical translation
Phoenix [80]

Answer:

y2= 2x-4

y3=6x-1

y4= x-1

y5=2x

Step-by-step explanation:

for y=2x-1

1) for a vertical translation down of 3 units

y2= y-3 =(2x-1)-3= 2x-4

y2= 2x-4

2) for a slope increased by 4

y3= y+ 4x = 2x-1 +4x = 6x-1

y3=6x-1

3) for sloped divided in half. slope of y : m=2 → slope of y4=2/2 =1

y4= x-1

4) shifted up (vertical translation) of  1 unit

y5= y+1 = 2x-1+1=2x

y5=2x

6 0
2 years ago
Michelle and Michael checked some books out of the library. . 20% of the books Michele checked out were fiction books, and 40% o
faust18 [17]

Answer:

pyrsxtgrsxxxxxx


Step-by-step explanation:


6 0
2 years ago
Other questions:
  • Lisa and Daisy work at a hair salon. The salon charges $18 for a hair styling session with Lisa and $12 for a session with Daisy
    9·1 answer
  • Two cars start towards each other from points 200 miles apart .One car travels at 40 miles per hours and the other travel at 35
    6·1 answer
  • When the Foresthill Wildfire band returned from a recent competition, 24 of the students attended school before realizing they h
    5·1 answer
  • Indicate the general rule for the arithmetic sequence with a3 = 8 and a8 = 33.
    8·1 answer
  • A piece of wire 24 ft long is cut into two pieces. One piece is used to form a square, and the remaining piece is used to form a
    15·1 answer
  • For your college interview, you must wear a tie. You own 3 regular (boring) ties and 5 (cool) bow ties. 36 1. Counting (a) How m
    8·1 answer
  • Type the correct answer in each box. A music company is introducing a new line of acoustic guitars next quarter. These are the c
    14·1 answer
  • Ari thinks the perfect milkshake has 3 ounces of caramel for every 5 scoops of ice cream. Freeze Zone makes batches of milkshake
    10·2 answers
  • The cost of 9 scarves is $65.25. What is the unit price?<br><br> The unit price is $____ per scarf.
    6·2 answers
  • A particle travels 24.6 km in 30 minutes. Find the
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!