SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 314 Weeks Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 20 Nov 2017 My Price 8.00

program that asks the user to enter a vehicle's curb weight.

I need this programmed in python with an attachment .py

 

----------------------------------------------------------------------------------------------

 

Question 1) a well documented program that asks the user to enter a vehicle's curb weight. The program should display a message indicating whether the vehicle's size is mini, small, midsize, or large.

  • If the curb weight is between  2,001 lb to 2,500 lb, the car size is mini.
  • If the curb weight is between  2,501 lb to 3,000 lb , the car size is small.
  • If the curb weight is between 3,001 lb to 3,500 lb , the car size is midsize.
  • If the curb weight is between 3,501 lb to 4,000 lb , the car size is large.  

Make sure the user input is greater than 2,000.

Question 2) Sam is a business owner, he limits the number of hours that an employee can work in a month to 60 hours. If an employee works more than 60 hours, he/she will not get paid for the extra hours worked. Write a well documented program that accepts the number of worked hours as input, and displays the amount paid as an output. 

Pay rate= $25/hour.

Question 3) Modify the code for question2 from HW2 to: 

  • check if the final grade is within the range 0<= final grade<=100.
  • display a letter grade depending on the following grade scale:
  • TotalLetter grade>=90A>=80 and <90B>=70 and <80C>=60 and <70D<60Felse print a message to inform the user that some invalid grades were input.

********* Start up code for question 2 HW2: **********

# HW2 Question 2 code

# Final grade program

assign1 = float (input('Enter Assignment 1 grade: '))

assign2 = float (input('Enter Assignment 2 grade: '))

Exam1 = float (input('Enter Exam 1 grade: '))

Exam2 = float (input('Enter Exam 2 grade: '))

AssignGrade = (assign1 + assign2) /2

ExamGrade = (Exam1 + Exam2) /2

Final_Grade = .4 * AssignGrade + .6 * ExamGrade

print('Final grade is' , format(Final_Grade, '.2f'))

 

-

Answers

(5)
Status NEW Posted 20 Nov 2017 07:11 AM My Price 8.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)