User will enter three grades averages (exam, project, and lab). Determine which of the three grades (consider any ties) is the highest grade and display the results. Determine which of the three grades (consider any ties) is the lowest grade and display the results. Check for any grades failing below 70% and display each individual grade. Calculate the average grade using the three grades and display the average grade. If they are all 70 and above then display the fact that they are all 70% or above.

Answers

Answer 1

Answer:

In Python:

exam = int(input("Exam: "))

project = int(input("Project: "))

lab = int(input("Lab: "))

if exam >= project and exam >= lab:

   print("Highest Grade: "+str(exam))

elif project >= exam and project >= lab:

   print("Highest Grade: "+str(project))

else:

   print("Highest Grade: "+str(lab))

   

if exam <= project and exam <= lab:

   print("Lowest Grade: "+str(exam))

elif project <= exam and project <= lab:

   print("Lowest Grade: "+str(project))

else:

   print("Lowest Grade: "+str(lab))

   

print("\nGrades below 70")

if exam < 70:

   print("Exam: "+str(exam))

if project < 70:

   print("Project: "+str(project))

if lab < 70:

   print("Lab: "+str(lab))

   

print("\nAverage: "+str((exam+project+lab)/3))

if exam > 70 and project >70 and lab > 70:

   print("All grades are above 70")

Step-by-step explanation:

The next three lines get input for exam, project and lab

exam = int(input("Exam: "))

project = int(input("Project: "))

lab = int(input("Lab: "))

This condition checks if exam is the highest grade

if exam >= project and exam >= lab:

If true, exam is printed as the highest grade

   print("Highest Grade: "+str(exam))

This condition checks if project is the highest grade

elif project >= exam and project >= lab:

If true, project is printed as the highest grade

   print("Highest Grade: "+str(project))

If otherwise

else:

lab is printed as the highest grade

   print("Highest Grade: "+str(lab))

This condition checks if exam is the lowest grade    

if exam <= project and exam <= lab:

If true, exam is printed as the lowest grade

   print("Lowest Grade: "+str(exam))

This condition checks if project is the lowest grade    

elif project <= exam and project <= lab:

If true, project is printed as the lowest grade

   print("Lowest Grade: "+str(project))

If otherwise

else:

lab is printed as the lowest grade

   print("Lowest Grade: "+str(lab))

   

This prints the header "Grades below 70"

print("\nGrades below 70")

This checks if exam is below 70.

if exam < 70:

If true, exam score is printed

   print("Exam: "+str(exam))

This checks if project is below 70

if project < 70:

If true, project score is printed

   print("Project: "+str(project))

This checks if lab is below 70

if lab < 70:

If true, lab score is printed

   print("Lab: "+str(lab))

   

This calculates and prints the average

print("\nAverage: "+str((exam+project+lab)/3))

This checks if all three scores are above 70

if exam > 70 and project >70 and lab > 70:

If true, the the message that all are above 70, is printed

   print("All grades are above 70")


Related Questions

what is the equation of the line that passes through the point (5, -6) and has a slope of -3/5?

Answers

Answer:

y=-3/5x-3

Step-by-step explanation:

(5,-6). y=mx+b or -6=-3/5 × 5+b, or solving for b: b=-6-(-3/5)(5). b=-3.

The length is 8 1/3 yd the width is 6 3/4 yd what is the area

Answers

Answer:

56 and 1/4 square yds

Step-by-step explanation:

Find the midpoint between each pair of points.
13. (7,-2) (-4,2)
BONUS POINTS IF RIGHT

Answers

Ok the mid point is 3/2,0

(a) At Smith's Bike Rentals, it costs $18 to rent a bike for 4 hours.
How many dollars does it cost per hour of bike use?

Answers

$4.50 you just do 18/4 to get ur answer per hour

Answer:My answer is $4.50 a hr. If u add 4.50 up 4 times, you will get 18. If u multiply 4.50 ×4 it will equal 18.

Step-by-step explanation:

Solve the inequality:
-3t+9 > -21
O t< -10
o t < 10
O t> -10
O t > 10

Answers

Answer:

b. t < 10

Step-by-step explanation:

[tex]-3t + 9>-21[/tex]

divide both sides by -3

[tex]t - 3 < 7[/tex]

(you have to flip the sign because you are dividing by a negative)

add 3 to both sides

[tex]t<10[/tex]

Please help me !!!!!!!!!

Answers

Answer:

f(-2) = 0

f(1) = 12

f(2) = 5

Step-by-step explanation:

f(-2) will lie in the function [tex] f(x) =x^2 - 4[/tex]

[tex]\therefore f( - 2) = {( - 2)}^{2} - 4 = 4 - 4 = 0 [/tex]

f(1) will lie in the function [tex] f(x) =2x^2 +10[/tex]

[tex]\therefore f(1) = 2 {(1)}^{2} + 10 = 2 + 10 = 12 [/tex]

f(2) will lie in the function [tex] f(x) =5[/tex]

[tex]\therefore f(2) = 5[/tex]

8) Which of the Prime number are
even numbers?
C
a) 0 & 2
b) 1 & 2
c) 2
ОО
d) None​

Answers

Answer C is correct

An item that was selling for $82.00 is reduced to $60.00. Find the percent decrease in price. Round your answer to the nearest tenth.

Answers

Answer:

Step-by-step explanation:

Amount of decrease = 82-60 = 22

percentage decrease = 22/82 ≅ 0.268 = 26.8%

ples ill give you the brianliest

Answers

Answer:

72

Step-by-step explanation:

step 1: 10(4+14/7)+12

step 2: 10(4+2)+12

step 3: 10(6)+12

step 4: 60+12=72

According to the National Beer Wholesalers Association, U.S. consumers years and older consumed gallons of beer and cider per person during . A distributor in Milwaukee believes that beer and cider consumption are higher in that city. A sample of consumers years and older in Milwaukee will be taken, and the sample mean beer and cider consumption will be used to test the following null and alternative hypotheses:_______.
H0 : µ ≤ 26.9
Ha : µ > 26.9
a. Assume the sample data led to rejection of the null hypothesis. What would be your conclusion about consumption of beer and cider in Milwaukee?b. What is the Type I error in this situation? What are the consequences of making this error?c. What is the Type II error in this situation? What are the consequences of making this error?

Answers

Step-by-step explanation:

H0 : µ ≤ 26.9

Ha : µ > 26.9

a. since the null hypothesis is rejected, we would accept the alternative hypothesis and come to the conclusion that there is enough evidence that beer and cider consumption are higher than 26.9 in the city.

b. type 1 error happens when we reject a true null hypothesis.

this error error in this question would be that our conclusion that beer and cider consumption is greater than 26.9 is not true. what is true is that it is equal to or less than 26.9.

the consequence is that is h0 is false it would be harder to reject it at a lower level of significance.

c. type ii error happens when the null hypothesis is accepted even though it is false. here, error would be that cider we accepted that cider and beer consumption is less than or equal to 26.9 when it is actually greater than 26.9

the consequence is that it would be harder to accept a true h0 at a high level of significance

The buyer of a lot pays 50,000 and 10,000 every month for 10 yearts and is worth 8% compounded monthly

Answers

Answer:

d

Step-by-step explanation:

of course it is Charlie as he just walked 11.8 miles

please answer this as soon as possible

Answers

Answer:

Realmente no sé, lo siento muchísimo :(

Estoy tan triste que no puedo ayudar: ((((

Step-by-step explanation:

help me solve this please

Answers

Answer:

the answer is 0.7692

Step-by-step explanation:

ratio of 12 seconds to 1 hour​

Answers

12:3600

1:300

I edited it lol

hope that helps

Of the people who fished at Clearwater Park today, 81 had a fishing license, and 9 did not. Of the people who fished at Mountain View Park today, 60 had a license, and 40 did not. (No one fished at both parks.) Suppose that one fisher from each park is chosen at random. What is the probability that the fisher chosen from Clearwater had a license and the fisher chosen from Mountain View did not have a license? Do not round your answer.

Answers

Answer:

9/25 = the probability that the fisher chosen from Clearwater had a license and the fisher chosen from Mountain View did not have a license

Step-by-step explanation:

There are 90 fishers at Clearwater and 100 fishers at Mountain View

The probability of a fisher at Clearwater had a license = 81/90 = 9/10

and the probability of a fisher at Mountain View

did not have a license = 40/100 = 2/5

the probability that the fisher chosen from Clearwater had a license and the fisher chosen from Mountain View did not have a license = 9/10(2/5) = 9/25

it's is estimated that each guest at the party will eat 5/8 pounds of chocolate.How. many guest can be served with 10 pounds of chocolate?​

Answers

Answer: 16

Step-by-step explanation:

Guests = x

5x/8 = 10

x = 16

16 guests can be served with 10 pounds of chocolate when estimated each guest at the party eat 5/8 pounds of chocolate.

it's is estimated that each guest at the party will eat 5/8 pounds of chocolate. We need to find number of guests can be served with 10 pounds of chocolate

What is Equation?

Two expressions with an equal sign is called as equation.

When it's is estimated that each guest at the party will eat 5/8 pounds of chocolate. We need to find number of guests can be served with 10 pounds of chocolate.

we need to divide 10 by 5/8 to find the answer

10/(5/8)=10*8/5=80/5=16

Therefore 16 Guests can be served with 10 pounds of chocolate.

To learn more about solving equation click here: https://brainly.com/question/19297665

#SPJ2

Question 1 of 5
Which three side lengths best describe the triangle in the diagram?
O INCHES
1
2
3
4
5
OM 1
2
3
4
5
6
7
8
9
10 11 12 13
O INCHES
5
9 10 11 12 13
w
8
4
7
A
6
5
3
4
3
.
-N
2
O
0 i 2
1
O INCHES
w

Answers

The answer is 2 answer 2

The three side lengths best describe the triangle in the diagram are A. 5 cm, 12 cm, and 13 cm

What is a triangle?

A polygon with three sides and angles is called a triangle.

Given is a figure, with the rulers attached to each side, we need to see what are the measurements of the sides of the triangle,

The first side is showing a measure of 13

The second side is showing a measure of 12

And, the third one is showing a measure of 5

This is a right triangle because the measurements are Pythagorean triplets.

Hence, the three side lengths best describe the triangle in the diagram are A. 5 cm, 12 cm, and 13 cm

Learn  more about triangles, click;

https://brainly.com/question/2773823

#SPJ7

6 Item 6 For a specific species of fish in a pond, a wildlife biologist wants to build a regression equation to predict the weight of a fish based on its length. The biologist collects a random sample of this species of fish and finds that the lengths vary from 0.75 to 1.35 inches. The biologist uses the data from the sample to create a single linear regression model. Would it be appropriate to use this model to predict the weight of a fish of this species that is 3 inches long

Answers

Answer:

Yes, because the regression equation is based on the random sample.

Step-by-step explanation:

A simple linear regression model that describes the relationship between X and Y takes the form

Yi= ∝ + βXi + εi or

Y i= U(y.x) + εi

where εi's are the random errors. The random errors εi's are assumed to be independent of Xi and normally distributed with E(εi)= 0 and Var (εi)= σ²(y.x) , a constant for all Xi. These assumptions imply that Yi also have a common variance σ²(y.x) ,  as the only random element in the is  εi.

The estimated regression line Y= a+ bX is also the predictor of Yi= ∝ + βXi+ εi

. That is Y^ can also be used to predict an individual value Y0 of Yi rather than a mean value, corresponding to the given X0. To draw the inferences about Y0 we need to know it mean and variance.

hello hello I need help asap ​

Answers

13/4 and 3 1/4
Hope this helps

Answer:

im not smart

Step-by-step explanation:

15. If R is the midpoint of OS, OR = &r - 51 and RS = 3x - 6, find QS.
Only answer if right I need help

Answers

Give me a sec please

4(9x + 7) + 6(8 - x)

Answers

Answer:

2(15x+38) and if you simplify it it is 30x+76

Step-by-step explanation:

2 z − 22 facorise fully

Answers

Answer:

Factorising fully

then

2z - 22

= 2( z - 11)

9= 3 3_4- 2 7_8- b
B?

Answers

Answer:

Step-by-step explanation:

9 - 3¾ - 2⅞ = 3⅜

He gave his grandmother 3⅜ pounds of apples.

find the Sum and the product
of the root of the Equadration
1/3and 2/3​

Answers

Answer:

sorry do not know

Step-by-step explanation:

.

Answer:

9x² - 9x +2

Step-by-step explanation:

general formula =x²-(sum of roots)x+(product of roots)

A boat can travel 77 9/16 nautical miles in 8 1/2 at how many knots is the boat traveling ​

Answers

Divide miles by time:

77 9/16 miles / 8 1/2 hours =

Rewrite as I’m proper fractions:

1241/16 / 17/2

Flip the second fraction over and multiply:

1241/16 x 2/17 = (1241x2)/(16x17) =

2482/272 = 9 1/8 miles per hour

Hi there!

Simplify each terms:

[tex]77\frac{9}{16}*8\frac{1}{2}=77\frac{9}{16}*8\frac{8}{16}[/tex]

Divide each terms:

[tex]77\frac{9}{16}*8\frac{8}{16}=9\frac{2}{16}[/tex]

Simplify terms:

[tex]9\frac{2}{16}=9\frac{1}{8}[/tex]

Final Result:

[tex]9\frac{1}{8}[/tex]

Miss Landry is getting married soon. She would like to hire a professional who will come to her house and do hair and makeup for the bridal party on her wedding day. She has narrowed it down to two possible choices. A woman from Springdale Salon charges an initial fee of $40 and then an additional $15 per hour. Alternatively, a team from Beauty by Dan offers a free consultation and then charges a higher hourly rate of $35. If it takes a certain amount of time to finish everyone's hair and makeup, Miss Landry will end up paying the same amount either way. How much would Miss Landry end up paying?

Answers

70

40+15=55+15=70(2 hours )

35+35=70(2 hours)

açıl hızlı cevap verin lütven​

Answers

Answer:12

Step-by-step explanation:

HELP solve the proportion x+1/16 = 17/32

Answers

Answer:

Exact Form:

x=15/32

Decimal Form:

x=0.46875

Step-by-step explanation:

Move all terms not containing x to the right side of the equation.

Exact Form:

x=15/32

Decimal Form:

x=0.46875

Hope this helps!!!

Answer:

Exact Form : x = 15/32

Decimal : 0.46875

1. A bank account started with $1000 and earned $10 interest per month
for two years. The bank then paid 2% interest on the account for the
next two years.

Answers

Answer:

What exactly is the question here ?? (lol)

C) Graph the equation x = 2.​

Answers

Step-by-step explanation:

debes de checar dónde está la x ya la viste okey ve a donde dice -2 y pon un punto

Other Questions
Ivan wants to rent a boat and spend less than $31. The boat costs $8 per hour, and Ivan has a discount coupon for $9 off. What are the possible numbers ofhours Ivan could rent the boat?Write your answer as an inequality solved for t. retail price= $120 markup percent= 40%what is the original cost Use the Distributive Property to rewrite the algebraic expression. 9(3p + 6)wrong answers reported Water often has dissolved gases and other chemicals in it. When this water encounters rocks, the minerals in the rocks can be changed by the process of 7.1 as a percentage Today manufacturers are relying more heavily on developing an MRP system for purchasing. the bidding process to obtain the lowest price. developing close relationships with just a few suppliers to secure affordable prices. many suppliers to keep their leverage. can someone tell me these notes on the clarinet please Represente en nmeros romanos, los aos que han transcurrido desde la Declaracin de Independencia hasta nuestros das. The height of 5 boys is 5.4 ft, 6.12 ft., 7.02 ft. 4.9 ft, and 6.25 ft. What is the averageheight of these 5 boys?What are the operation to solve the problem?pls answer According to the following reaction, how many grams of carbon tetrachloride will be formed upon the complete reaction of 27.7 grams of chlorine gas with excess carbon disulfide? carbon disulfide (s) + chlorine (g) carbon tetrachloride (l) + sulfur dichloride (s) grams carbon tetrachloride Evaluate the similarities between the 1920s and todays world. What similarities and differences do you see in youth culture, economics, and race relations? Tyranny is the abuse of power by someone in charge, like a king. Which of these is the BEST example of tyranny? *1. An emperor who forces all the citizens to give all their money to pay for his new crown.2. A queen who makes her birthday a national holiday and gives everyone the day off to celebrate it.3. A president who signs an executive order stating that all citizens are required to show ID to get on an airplane.4. A king who creates a new tax in order to pay for improved roads in the kingdom. QUESTION 10 of 10: You are planning to place an ad in a local newspaper. The size of the ad is 6 inches long by 5 columns wide. Thenewspaper's rate per column inch is $20. How much will the ad cost?a) $600b) $625c) $635d) $645 Find the constant of proportionality that creates a direct proportion between x and y,Constant of Proportionality Fill in the blank with the correct answer to complete the sentence.Word banksizevelocitydistancetimeMomentum increases with an increase in mass and what is the area of a parallelogram that has a base of 8yd and a height of 4yd? Having some struggles help again i need help What is the most basic level of biological organization?Question 1 options:OrganismCellMoleculeAtom Which organelles must work together to provide food and energy to a plant cell?