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
Define parallel lines.
Stella [2.4K]
The correct answer is B. Parallel lines are lines in the same plane that never intersect.
3 0
3 years ago
Read 2 more answers
Plastic parts produced by an injection-molding operation are checked for conformance to specifications. Each tool contains 12 ca
Ksju [112]

Answer:

a) 45 possible outcomes

b) 55 possible outcomes

Step-by-step explanation:

Given:

- Total cavities = 12

- Selection = 3 parts

- Non-conforming cavities = 2

Find:

a) How many samples contain exactly 1 nonconforming part?

b) How many samples contain at least 1 nonconforming part?

Solution:

- The question asks for the use of combinations to express the outcomes for each scenario.

- For first part, we want the inspector to pick exactly one non-conforming part among 3 selected. So let us say that he has already chosen that one non conforming cavity. Now he has to make 2 more selections out of total conforming cavities = 12 - 2 = 10 conforming cavities. Hence, the total possible outcome is to chose 2 randomly from 10 conforming cavities.

                              ( Exactly 1 ) 10C2 = 45 possible outcomes

- The second part entails that at-least 1 non-conforming cavity is selected. To choose exactly 1 non conforming we calculated above. In the similar way calculate for selecting exactly 2 non-conforming cavities. The total possible outcome would be to choose from 10 conforming and we choose 1 from it:

                              ( Exactly 2 ) 10C1 = 10 possible outcomes

- Hence, for at-least 1 non conforming cavity being selected we same the above two cases calculated:

                             (At-least 1 ) =  ( Exactly 1 ) +  ( Exactly 2 )

                             (At-least 1 ) =  45 + 10 = 55 possible outcomes

4 0
3 years ago
(will mark as brainliest)
Helga [31]

Find the x and y-intercepts of the equation. Then calculate the points at constant intervals and plot and connect those points on a makeshift graph. A quadratic equation can have 2 solutions, 1 solution, or none. The corresponding graphs(if two solutions) would most probably cross over the x-axis twice.

Hope this helps.

4 0
2 years ago
Solve for x.
xz_007 [3.2K]

Answer:

\displaystyle -2,66 ≈ x\:or\:0,66 ≈ x

Step-by-step explanation:

All work is shown above.

I am joyous to assist you anytime.

6 0
3 years ago
Chao bought a boat for HK$160 000
Dennis_Churaev [7]

Answer:

$141,557.76

Step-by-step explanation:

Chao bought a boat for 160,000

The value of the boat reduces by 4% every year

Therefore the value of the most at the end of three years can be calculated as follows

= 100%- 4%

= 96%

= 160,000 × 96/100^3

= 160,000 × 0.96^3

= 160,000 × 0.884736

= 141,557.76

Hence the price of the boat after 3 years is 141,557.76

7 0
2 years ago
Other questions:
  • Find the missing length. Round to the nearest tenth, If necessary.
    15·1 answer
  • Find the missing value to the nearest hundredth.. . tan ___ = 73
    12·2 answers
  • Explain why a drop in temperature would lead to adding a negative integer.
    13·1 answer
  • Bryan has a square parcel of land that is 120 yards long and 120 yards wide. The land is planted with Bermuda grass and surround
    12·1 answer
  • 5x ^ 2 + 2x + 11 - 7 + 4x - 2x ^ 2
    15·1 answer
  • How many hundreths are equivalent to three-quaters<br><br>​
    5·2 answers
  • Formulate the indicated conclusion in nontechnical terms. Be sure to address the original claim.
    15·1 answer
  • Help please :/<br> jejsjsj
    10·2 answers
  • Whats 12 divided by 12 it was a big deal In my 5th grade also i have been warned
    6·1 answer
  • Maria answered 15 math problems in 30 minutes. How many problems did<br> in one minute?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!