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
s2008m [1.1K]
2 years ago
13

A certain college classifies students according to credits earned. A studentwith less than 7 credits is a Freshman. At least 7 c

redits are required to bea Sophomore, 16 to be a Junior and 26 to be classified as a Senior. Write aprogram that calculates class standing from the number of credits earned.

Mathematics
1 answer:
FinnZ [79.3K]2 years ago
5 0

Answer and explanation:

Here is code:

credit = int(input("Enter credits : "))

if credit < 7:

print("You are a Freshman")

elif credit >= 7 and credit < 16:

print("You are a Sophomore")

elif credit >= 16 and credit < 26:

print("You are a Junior")

elif credit >= 26:

print("You are a Senior")

Output: check image

You might be interested in
Wang Hao wants to spend at most $15 on dairy products. Each liter of goat milk costs $2.40 and each liter of cow's milk costs $1
Mashutka [201]

Answer:

2.40g + 1.20c ≤15

Step-by-step explanation:

Each liter of goat milk costs $2.40 and each liter of cow's milk costs $1.20

Let g = liters of goats milk

c = liters of cows milk

What we are buying is the liters times the cost

2.40g + 1.20c

This must be less than or equal to 15 dollars

2.40g + 1.20c ≤15

8 0
2 years ago
Read 2 more answers
A restaurant will select 1 card from a bowl to win a free lunch. Jo puts 5 cards in the bowl. The bowl has 100 cards. What are t
liraira [26]

Answer:

1/20

Step-by-step explanation:

8 0
2 years ago
Carla can choose two of her three pairs of sneakers to take to a track meet. If the pairs of sneakers are called A, B, and C, wh
Semenov [28]
Number of ways of choosing two pair of sneakers from three pairs named A, B, C is given by 3C2 (3 combination 2) = 3! / 2!(3 - 2)! = 3! / (2! x 1!) = (3 x 2) / (2 x 1) = 3.

Therefore, the sample space is given by S = {AB, AC, BC}
5 0
2 years ago
Read 2 more answers
Helena uses a mixture of compost and topsoil in her garden. She purchased a total of 10 cubic yards of compost and topsoil for $
Annette [7]

Let C be the amount of compost

T be the amount of  topsoil

Each compost cost = $25

Cost of C compost = 25C

Each topsoil cost = $15

Cost of T topsoil = 15T

Amount of compost + amount of topsoil = 10

C + T = 10 -------> Equation 1

cost of C compost + cost of T topsoil = 180

25C + 15T = 180 --------> equation 2

Solve  the first equation for C

C + T = 10

C = 10 - T

Now plug it in second equation

25C + 15T = 180

25 ( 10 - T) +15T = 180

250 - 25T + 15T = 180 (combine like terms)

250 - 10 T = 180 (Subtract 250 on both sides)

-10T = 180 - 250

-10T = -70 ( divide by -10 on both sides)

T = 7

She purchased  7 cubic yards of topsoil .


4 0
2 years ago
Read 2 more answers
Which statement proves that △XYZ is an isosceles right triangle? XZ ⊥ XY XZ = XY = 5 The slope of XZ is , the slope of XY is , a
hammer [34]
The first statement, XZ ⊥ XY and XY = XZ = 5 proves that the triangle XYZ is isosceles.


One isosceles triangle has two congruent sides and two congruent angles.

And you should also know the theorem that states that if two sides of a triangle are congruent then the two angles opposite that sides are also congruent.


So, given that the two sides XZ and XY are congruent, their opposite sides are also congruent, and that proves that the the triangle is isosceles.


5 0
2 years ago
Read 2 more answers
Other questions:
  • The table shows the total number of student applications to universities in a particular state over a period of 12 semesters. St
    8·2 answers
  • Erica has six boxes of buttons. Each box holds 28 buttons. Explain how Erica can use place value and regrouping to find how many
    8·2 answers
  • On Friday night 165 people saw the dinosaur exhibit at the natural history museum. This amount represents 22% of the people who
    5·1 answer
  • If quadrilateral ABCD rotates 90° counterclockwise about the origin, what are the coordinates of A′ in quadrilateral A′B′C′D′ ?
    10·2 answers
  • Orin solved an equation and justified his steps as shown in the table.
    5·1 answer
  • At smith mountain lake boat rentals, it costs $25 per hour to rent a pontoon boat, plus a one-time charge for cleaning. The Beng
    12·1 answer
  • Please help I don't understand this problem. I need to get this done by tonight.
    11·1 answer
  • Sheila was given $20.00 for her birthday and spent $14.79 on a CD. How much was her change?
    14·2 answers
  • The Rockville Recruitment Agency just placed Howard Jacobson in a job as an assistant pharmacist. The job pays $51.2K. The agenc
    10·1 answer
  • How to write 2.31818 as a mixed fraction
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!