Write if statement that increases pay by 3% if score is greater than 90, otherwise increases pay by 1%.

Answers

Answer 1

The "if statement" to show that  increases pay by 3% if score is greater than 90, otherwise increases pay by 1% ; is written below .

The if statement in that implements the conditions that increases pay by 3% if score is greater than 90, otherwise increases pay by 1% is written as :

⇒ if (score > 90)

⇒  pay *= 1.03;

⇒  else

⇒  pay *=1.01;

In the above mentioned  code, the "score" is a variable that represents the value to be tested, and "pay" is a variable that represents the current pay.

The statement checks that if score is greater than 90.  pay is increased by 3% (multiplying by 1.03). If score is not greater than 90, pay is increased by 1% (multiplying by 1.01).

Learn more about If Statement here

https://brainly.com/question/28504743

#SPJ4


Related Questions

Tom counted a total of 45 birds and squirrels at the park. There were 4 times as many birds as squirrels. How many birds did Tom count?

Answers

Answer:

9 squirrels and 36 birds

Step-by-step explanation:

4x+x=45

5x=45

x=9

4*9=36

The length of a rectangle is 3 ft longer than its width.
If the perimeter of the rectangle is 46 ft, find its area.

Answers

Answer:

Area = 130 ft^2

Step-by-step explanation:

Area =length * width

Perimeter = 2(L + W)

L=3+x

W= x

Perimeter= 2(3+x+x) =2(3 +2x)=6+4x=46 so x=10

L=3 +10= 13

W= 10

Area = 13* 10 130

how do you solve 821*54 using an area model

Answers

Answer:

     800 20 1    

50|          |     |   |

4  |          |      |   |

pretty much a rectangle with 800    20    1    at the top

50     4 on the side

and split the numbers in the box - i tried to recreate it as much as possible

oh then in each little box you have to multiply the numbers so

50 x 800 = 40,000 in the box

50 x 20 = 1,000 in the next box

50 x 1 = 50 in the next box

4 x 800 = 3,200

4 x 20 = 80

4 x 1 = 4

then you add all of them which would be 44,334

km bisects angle jkn, kn bisectss angle mkl, prove angle jkm = angle nkl

Answers

The proof that the angles ∠JKM ≅ ∠NKL are congruent is shown below

How to prove the angles

From the question, we have the following parameters that can be used in our computation:

km bisects angle jknkn bisects angle mkl

Also, see attachment for the missing diagram

The above parameters imply that:

If KM bisects ∠JKN, then ∠JKM ≅ ∠NKM

Also, we have

If KN bisects ∠MKL, then ∠MKN ≅ ∠LKN

Recall that

∠JKM ≅ ∠NKM

Substitute ∠MKN ≅ ∠LKN in ∠JKM ≅ ∠NKM

∠JKM ≅ ∠LKN

Rewrite as

∠JKM ≅ ∠NKL

Hence, the angles are congruent

Read more about angles at

https://brainly.com/question/11047071

#SPJ1

km bisects angle jkn, kn bisectss angle mkl, prove angle jkm = angle nkl

If an investment company pays 6% compounded semiannually, how much will you have 5 years from now if you deposit $900?


How much would you earn if it were simple interest instead of compound interest?

Answers

With compound interest of 6% paid semiannually, a deposit of $900 would result in $1,191.02 after 5 years, while simple interest would earn $270, resulting in a total of $1,170.

To calculate the future value of an investment with compound interest, we can use the following formula:

FV =\(PV * (1 + r/n)^{(n*t)}\)

where FV, PV, r, n and t is the future value, present value, annual interest rate, number of compounding periods per year and number of years respectively.

In this case, the present value (PV) is $900, the annual interest rate (r) is 6%, and the interest is compounded semiannually, so there are 2 compounding periods per year (n=2). The period (t) of investment  is 5 years.

Using these values, we can calculate the future value (FV) as follows:

FV = \(\$900 * (1 + 0.06/2)^{(2*5)\)

= \(\$900 * (1.03)^{10\)

= $1,191.02

Therefore, the future value of the investment after 5 years with compound interest would be $1,191.02.

If the interest were simple interest instead of compound interest, the calculation would be simpler. Simple interest is calculated as follows:

I = P x r x t

where I is the interest, P is the principal or present value, r is the interest rate, and t is the time period.

In this case, the interest rate is still 6% and the investment period is still 5 years, but the interest is calculated only on the principal amount of $900. Therefore, the interest earned would be:

I = $900 x 0.06 x 5

= $270

Therefore, the total amount after 5 years with simple interest would be the sum of the principal and the interest earned, which is:

Total = $900 + $270

= $1,170

Therefore, if the interest were simple interest instead of compound interest, the total amount after 5 years would be $1,170, and the interest earned would be $270.

Leaen more about simple interest here:

https://brainly.com/question/30824126

#SPJ1

Mahesh borrows a certain sum of money from a bank at 9% p.a. simple interest and invests the same sum to Rakesh at 10% p.a. compound interest compounded annually Mahesh makes a profit of Rs 7,550 after 3 years. a) What is the sum that Mahesh borrowed? b) Calculate the interest that Mahesh has to pay. c) Calculate the interest that Rakesh has to pay. d) By what percent does Rakesh pay more interest than Mahesh?​

Answers

The sum that Mahesh borrowed was Rs. 22,800, the interest that Mahesh has to pay was Rs. 6,492, the interest that Rakesh has to pay was Rs. 7,550, and the percentage by which Rakesh pays more interest than Mahesh was 16.3%.

a) Sum borrowed by Mahesh

Let us suppose that the principal sum borrowed by Mahesh from the bank at 9% per annum is Rs. x.

Hence, we can write that

Simple Interest = (P × R × T )/ 100

= (x × 9 × 3)/100

= 27x/100

Therefore, the amount that Mahesh has to pay after 3 years, including the interest, is

A = P + SI

= x + 27x/100

= 127x/100

Again, Mahesh invests the same amount of Rs. x to Rakesh at 10% per annum, which is compounded annually, for three years.

Hence, the total amount after three years that Rakesh has to pay Mahesh is:

Amount after 3 years = x (1 + R/100)³

= x (1 + 10/100)³ = 1.331 x

Therefore, Mahesh made a profit of Rs. 7,550 by investing Rs. x at 10% per annum, compounded annually, for three years.

Hence, we can write that

Compound Interest = Amount - Principal

CI = 1.331x - x = 0.331x

Therefore, 0.331x = Rs. 7,550=>

x = Rs. 22,800

Thus, Mahesh borrowed Rs. 22,800 from the bank.

b) Interest that Mahesh has to pay

Interest = P × R × T/100

= Rs. 22,800 × 9 × 3/100 = Rs. 6,492

Therefore, Mahesh has to pay Rs. 6,492 as interest.

c) Interest that Rakesh has to pay

The total amount that Rakesh has to pay to Mahesh is Rs. 30,350 [= (22,800 + 7,550)].

Therefore, interest that Rakesh has to pay = Total Amount - Principal

= Rs. 30,350 - Rs. 22,800 = Rs. 7,550

Therefore, Rakesh has to pay Rs. 7,550 as interest.

d) Percentage by which Rakesh pays more interest than Mahesh

Let us calculate the percentage difference between the interest paid by Rakesh and the interest paid by Mahesh.

Thus, the percentage difference can be calculated as

% Difference = (|Interest paid by Rakesh - Interest paid by Mahesh|/ Interest paid by Mahesh) × 100

% Difference = (|7,550 - 6,492|/6,492) × 100

% Difference = 16.3%

Therefore, Rakesh pays more interest than Mahesh by 16.3%.

For more such questions on interest visit:

https://brainly.com/question/25720319

#SPJ8

1. A windshield wiper blade is 18 in Long. Calculate the area covered by the blade as it rotates through an angle of 122 degrees. Use 3.14 for pi. Round your answer to the nearest Square inch.

2. A spray irrigation system waters a section of a farmer's field. If the water shoots a distance of 75, what is the area that is watered as the sprinkler of 80 degrees? Use 3.14 for pi. Round your answer to the nearest square foot.

Answers

1. Area of a circle is pi x R^2

Area = 3.14 x 18^2

Area = 3.14 x 324= 1017.36 sq. In.

The blade covers 122 out of 360 degrees.

1017.36 x 122/360 = 345 square inches.

2.

Like above.

Area =3.14 x 75^2 = 17,662.5 square feet

17662.5 x 80/360 = 3,925 square feet.

Complete This Table Please Help Me !​

 Complete This Table Please Help Me !

Answers

Answer:

1. 3/4; 75%

2. 0.6; 6%

3. 18/25;0.72

Step-by-step explanation:

100 Points! Geometry question. Photo attached. Please show as much work as possible. Thank you!

100 Points! Geometry question. Photo attached. Please show as much work as possible. Thank you!

Answers

Answer:

x = 42

y = 21

Step-by-step explanation:

Since its a right triangle, we have:

sin x = opposite/hypotenuse

cos x = adjacent/hypotenuse

\(sin (60) = \frac{21\sqrt{3} }{x} \\\\x= \frac{21\sqrt{3} }{sin (60)} \\\\x= \frac{21\sqrt{3} }{\frac{\sqrt{3} }{2} } \\\\x = \frac{21\sqrt{3} *2 }{\sqrt{3} } \\\\x = 21*2\\\\x = 42\)

\(cos (60) = \frac{y}{x}\\\\cos (60) = \frac{y}{42}\\\\y = cos (60)*42 \\\\y = \frac{1}{2} * 42\\\\y = 21\)

I really need help on this

I really need help on this

Answers

Answer:

1. repeating decimal

2. terminating decimal

3. rational number

4. bar notation

5. multiplicative inverses

6. zero exponent property

7. product of powers property

8. power of a quotient property

Hope this helps!

Help me please it’s due tomorrow!!!!!

Help me please its due tomorrow!!!!!

Answers

Answer:

130 more dollars.

Answer:

130

Step-by-step explanation:

Consider this quadratic equation.
x²+2x+7=21
The number of positive solutions to this equation is
The approximate value of the greatest solution to the equation, rounded to the nearest hundredth, is

Answers

Answer: We can start by simplifying the equation:

x² + 2x + 7 = 21

x² + 2x - 14 = 0

Next, we can use the quadratic formula to solve for x:

x = (-b ± sqrt(b² - 4ac)) / 2a

where a = 1, b = 2, and c = -14

x = (-2 ± sqrt(2² - 4(1)(-14))) / 2(1)

x = (-2 ± sqrt(68)) / 2

x = (-2 ± 2sqrt(17)) / 2

x = -1 ± sqrt(17)

We have two solutions: x = -1 + sqrt(17) and x = -1 - sqrt(17). Since both solutions are real, there are no positive solutions to the equation.

To find the greatest solution to the equation, we can use the fact that the solutions are -1 + sqrt(17) and -1 - sqrt(17). The greatest solution is the one that is furthest to the right on the number line.

Since both solutions are negative, the greatest solution is the one with the smaller absolute value. So, the greatest solution is -1 - sqrt(17).

Rounding this to the nearest hundredth gives:

-1 - sqrt(17) ≈ -4.12

Therefore, the approximate value of the greatest solution to the equation, rounded to the nearest hundredth, is -4.12.

Step-by-step explanation:

Use the distributive property to write an equivalent expression.

3(4x - 8y + 5)

Answers

Answer:

12x - 24y + 15

Step-by-step explanation:

The distributive property multiplies all of the terms by 3.

So:

3(4x) + 3(-8y) + 3(5) =

12x + (-24y) + 15 =

12x - 24y + 15

What is the solution to the system of equations?
3x+2y = 39
5x-y= 13

A. (4, 7)
B. (7, 4)
C. (12, 5)
D. (5, 12)

Answers

Answer: (5,12)

Step-by-step explanation:

Did it on Desmos graphing calculator

#8 i
A parabola with its vertex at (2,5) and its axis of symmetry parallel to the y-axis passes through point (22,365). Write an equation
of the parabola. Then find the value of y when x = 12.
An equation is
Elio Mendoza
When x = 12, y =

Answers

A parabola with its vertex at (2, 5) and its axis of symmetry parallel to the y-axis can be represented by the equation:

y = a(x - 2)^2 + 5

where a is a coefficient that determines the shape and direction of the parabola.

We can find the value of a by substituting the coordinates of the given point (22, 365) into the equation:

365 = a(22 - 2)^2 + 5

Then, we can solve for a by rearranging the terms and solving for a:

360 = a(20^2)
a = 360 / (20^2)
a = 0.225

Now that we have found the value of a, we can substitute it back into the equation to get the final equation of the parabola:

y = 0.225(x - 2)^2 + 5

To find the value of y when x = 12, we can substitute 12 for x in the equation:

y = 0.225(12 - 2)^2 + 5
y = 0.225(10^2) + 5
y = 2.25 + 5
y = 7.25

Therefore, the value of y when x = 12 is 7.25.

8x - 7x + 6 = 6 help you guys pleases

Answers

Steps to solve:

8x - 7x + 6 = 6

~Combine like terms

x + 6 = 6

~Subtract 6 to both sides

x = 0

Best of Luck!

Answer:

0

8x0=0 7x0=0

6+0=6

Step-by-step explanation:

i need help please its due today

i need help please its due today

Answers

It would be 11/15 (11 over 15)

A certain two-digit number has a value that is seven more than six times the sum of its digits. The tens digit is 3 more than the units digit. Find the number.

Answers

Answer:

Step-by-step explanation:

Let the two-digit number be represented as $10a+b$, where $a$ is the tens digit and $b$ is the units digit. From the problem statement, we have:

$10a+b = 6(a+b)+7$ ....(1)

Also, we know that the tens digit is 3 more than the units digit, so we have:

$a = b+3$ ....(2)

Substituting (2) into (1), we get:

$10(b+3)+b = 6((b+3)+b)+7$

Simplifying the above equation, we get:

$11b+33 = 13b+25$

Subtracting $11b$ from both sides, we get:

$2b+33 = 25$

Subtracting 33 from both sides, we get:

$2b = -8$

Dividing both sides by 2, we get:

$b = -4$

Since $b$ represents a digit, we see that $b$ must be 6 (and not -4), since it is the only digit that satisfies the condition that the tens digit is 3 more than the units digit. Substituting $b=6$ into (2), we get:

$a = b+3 = 6+3 = 9$

Therefore, the two-digit number is $10a+b = 10(9)+6 = \boxed{96}$.

Note: If p(a) = 0 then (x - a) is a factor of p(x)

given that f(-1), f(-2) are zeros of f(x) find the missing values of these coefficients p, q

f(x) = x³ + px² - qx - 4

After finding the values of the coefficients factor and find the solutions of x1, x2 and x3.​

Answers

Answer:

Since f(-1) = 0 and f(-2) = 0, we can set up two equations:

(-1)³ + p(-1)² - q(-1) - 4 = 0

(-2)³ + p(-2)² - q(-2) - 4 = 0

Simplifying each equation, we get:

-1 + p - q - 4 = 0

-8 + 4p - 2q - 4 = 0

Simplifying further, we get:

p - q = 5

2p - q = 6

Solving for p and q, we can add the two equations together to eliminate q:

p - q + 2p - q = 5 + 6

3p - 2q = 11

Then, we can substitute the value of q from the first equation into this equation to solve for p:

3p - 2(q + 5) = 11

3p - 2q - 10 = 11

3p - 2q = 21

3p - 2(5 + p) = 21

p - 10 = 7

p = 17

Substituting this value of p into either equation for q, we get:

q = p - 5 = 12

Therefore, the coefficients are p = 17 and q = 12. To factor the expression, we can use synthetic division or long division. Using synthetic division, we get:

-1 | 1 17 -12 -4

|__ -1 -16 28

1 1 12

This gives us the factorization:

f(x) = (x + 1)(x² + x + 12)

To find the solutions, we can use the quadratic formula on the quadratic factor:

x = (-1 ± sqrt(1 - 4(1)(12))) / 2(1)

x = (-1 ± sqrt(1 - 48)) / 2

x = (-1 ± sqrt(-47)) / 2

x1 = (-1 + i(sqrt(47))) / 2

x2 = (-1 - i(sqrt(47))) / 2

Therefore, the solutions are x1 = (-1 + i(sqrt(47))) / 2, x2 = (-1 - i(sqrt(47))) / 2, and x3 = -1.

Step-by-step explanation:

give me thanks for more! your welcome bud!

the current in the electronic circuit in the mobile phone was 0.12a the potential difference across the battery was 3.9V. calculate the resistance of the electronic circuit in the mobile phone ​

Answers

Answer:

Step-by-step explanation:

V = 3.9V

I = 0.12A

Ohm's Law, V = IR

Rearranging Ohm's Law, R = V/I

R = 3.9/0.12 = 32.5Ω

Please help with all 3 anything all 3 thought

Please help with all 3 anything all 3 thought

Answers

Answer:

TU is XU

YW is SV

Y is V

hope that helps!!

Step-by-step explanation:

In ΔNOP, p = 9.5 cm, n = 2.7 cm and ∠O=35°. Find the length of o, to the nearest 10th of a centimeter.

Answers

Answer:

7.5

Step-by-step explanation:

DeltaMath

On average, Nathaniel drinks
4/5 of a 10-ounce glass of water in
2 2/5​
hours. How many glasses of water does he drink in one hour? Enter your answer as a whole number, proper fraction, or mixed number in simplest form.

Answers

Nathaniel drinks 3 glasses of water in one hour.

To find out how many glasses of water Nathaniel drinks in one hour, we need to calculate his drinking rate per hour.

In 2 2/5 hours, Nathaniel drinks 4/5 of a 10-ounce glass of water.

Let's convert the mixed number of hours to an improper fraction:

\(2\frac{2}{5} = \frac{(5 \times2 + 2)}{5}\)

\(=\frac{12}{5}\)

Now, we can set up a proportion to find his drinking rate per hour.

We know that \(\frac{12}{5}\) hours corresponds to \(\frac{4}{5}\) of a glass of water.

Let's assign "x" as the number of glasses he drinks in one hour.

The proportion is then

\(\frac{(\frac{12}{5} hours) }{(x glasses) } =\frac{(\frac{4}{5} glass)}{(1 hour)}\)

Cross-multiplying gives us

\((\frac{12}{5} )\times1=\frac{4}{5}\times(x)\)

Simplifying, we get

\(\frac{12}{5} =\frac{4}{5}\times x\)

Dividing both sides by \(\frac{4}{5}\), we find x:

\(x=\frac{(\frac{12}{5} )}{\frac{4}{5} }\)

\(x=\frac{12}{4}\)

\(x = 3.\)

Therefore, Nathaniel drinks 3 glasses of water in one hour.

For such more such question on glasses

https://brainly.com/question/11980886

#SPJ8

Multiply: 3,217 × 5,716

Answers

Answer:

Step-by-step explanation:

183,883,72

Answer:

18388372

Step-by-step explanation:

1 )Use the algorithm method.

      3 2 1 7

×              5      7      1      6

        1      1       1      4                      

        1      9      3      0     2            

        3 2  1  7 0

  2 1  1     4  

  2 2 5    1       9      0     0

1  1     3

1  6 0 8   5       0      0     0

      1  1    1

1  8 3 8   8       3       7     2

==================step 2==================

2 )Therefore, 3217 × 5716 = 18388372.

18388372

Refer to the given terms . A pattern defines the relationship between the first two terms . Determine the relationship and identify the missing term of the second pair , such that both the pairs are analogous . AZP : ZAR :: TXK :

Refer to the given terms . A pattern defines the relationship between the first two terms . Determine

Answers

The missing term in the second pair is YUL.

To determine the relationship between the first two terms, let's analyze the given pattern: AZP : ZAR.

If we look closely, we can observe that each letter in the first term is shifted one position forward in the alphabet to form the corresponding letter in the second term.

So, applying the same pattern to the second pair (TXK), we need to shift each letter one position forward in the alphabet:

T + 1 = U

X + 1 = Y

K + 1 = L

Therefore, the missing term in the second pair is YUL.

The analogy between the pairs is that each letter in the first term is shifted one position forward in the alphabet to form the corresponding letter in the second term.

Learn more about sequence here:

https://brainly.com/question/28694302

#SPJ1

The area of a rectangular garden is 8811 ft?. If the length of the garden is 99 feet, what is its width?

The area of a rectangular garden is 8811 ft?. If the length of the garden is 99 feet, what is its width?

Answers

Answer:

width is 89ft

Step-by-step explanation:

divide the area by length

Width is 89 feet.

8811/99 =89

Mrs. Douglas packs candy bars into boxes for the members of the school band to sell as a fundraiser. Each candy bar weighs 5.75 ounces, and the empty box weighs 2.95 ounces. If the algebraic rule y = 5.75x + 2.95 represents the total weight of the packed box, what does the variable x represent?

a. Weight of each candy bar inside a box
b. Total weight of a box filled with candy bars
c. Total number of boxes filled with candy bars
d. Number of candy bars packed into a box

Answers

Answer:

d

Step-by-step explanation:

Answer: D
Explanation: “each candy bar weighs 5.75 ounces” meaning 5.75x would represent 5.75• the number of candy bars

Solve for x.

Show work

Solve for x.Show work

Answers

Answer:

x=11.34

Step-by-step explanation:

x / -5.4 = -2.1

Multiply -5.4 in both sides

x = 11.34

Have a good day ^^

Bob and Larry went on a tricycle ride. They rode for the same amount of time, but Bob cycled 10 miles per hour slower than Larry. If Bob cycled 14 miles and Larry cycled 21 miles, find the speed that both Larry and Bod rode their tricycles.

Answers

Step-by-step explanation:

so basically they are asking you to subtract, hope this helps, use a calculator if needed

The slant height of a cone measures 26 centimeters. The height of the cone measures 24 centimeters.

What is the exact surface area of the cone?

Enter your answer in the box.

Answers

Answer:

the answer is 2600π or in other words 8168.1

Answer:

The answer is 360 pi

Step-by-step explanation:

I don't really have an explanation, I just took the test

Other Questions
I will give anyone the brainliest correctly what are the variables physical change vs chemical change When Katniss returns from the woods for the last time in District 12, sheA. Sectionnotices the fence is electrifiedB. finds Peacekeepers at her homeC. buys bandages and candyD. all of the above find f (1) f(-3) and f(0) forf(x)2x-7 f(x)=3x^2-5 Why was territorial expansion important for the Ottoman economy? it regulates relationships between the federal and state governments by declaring that the constitution and federal law supersede any conflicting state law. What game do Honduran men like to play after they return home from a day's work of fishing? cards dominoes dice Trivial Pursuit no spam The linear function f(x) = 0.5x + 80 represents the average test score in your math class, where x is the number of the test taken. The linear function g(x) represents the average test score in your science class, where x is the number of the test taken.x g(x)1 812 833 85Part A: Determine the test average for your math class after completing test 2. (2 points)Part B: Determine the test average for your science class after the completing test 2. (2 points)Part C: Which class had a higher average after completing test 4? Show work to support your answer. (6 points) are clear and accurate written statements that identify the basic rules and principles (the what and why) used to control and expedite decision making. describe the process by which something is done (the how). In Hard Times, how does Dickens use the characters ofGradgrind, Bounderby, and Blackpool in his critique of 19th-centurysociety? Be sure to make very specific references to the novel Brandi completed 7 out of her 9 chores. What percent does she have left to finish?A. 22%B. 33%C. 78%D. 82% I need help with this fill in the boxes below with the words above. Thank you Which of the following skills can best helpa person achieve social health?OA Ability to handle conflictsO B. Excellent sports abilityOC. Getting good grades in schoolOD. Excellent studying skills. And add me on snap tannerbug69 Unscramble the following outline of a presentation describing a job description. Put the entries into standard outline form using the principles of outlining discussed in the chapter. Hint: the outline contains two main points.BenefitsAnalyze reportsCollect completed reportsMid-range salaryHealth insuranceBonus possibleOne report from marketingResponsibilitiesThree weeks vacationGroup planSummarize dataFile reportsPrepare forecastOne report from productionYearly raiseUse file cabinets in main officeMonthly premium Files should be alphabetized if the rotation of a planet of radius 7.66 x 10^6 m and free-fall acceleration 8.34 m/s^2 increased to the point that the centripetal acceleration was equal to the gravitational acceleration at the equator, what would be the tangential speed of a person standing at the equator?answer in units of m/s Depression that goes untreated can cause a person to have clouded thinking and develop into what is called __________. If a plant's stomata were temporarily inhibited from opening during the daytime, how would this affect the plant? Given the tree above, which of the following characteristics is not shared by both coelocanths and salamanders?(a) cranium and vertebrae(b) jaws(c) bony skeleton(d) bony limbs Mis amigos y yo _____ una calculadora en la clase de matemticas.A. usamosB. usoC. usanD. usa if a tow with a population of 3,000 grows by 2% per year, how large will the population be in ten years ?