Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Uncommon Grounds Coffee Shop sells coffee online at $12.55 per pound plus the cost of shipping. Each order ships for $.99 per pound plus a

Uncommon Grounds Coffee Shop sells coffee online at $12.55 per pound plus the cost of shipping. Each order ships for $.99 per pound plus a $4.00 fixed cost handling fee. Bulk coffee is non-taxable in New York State. Write a Python program to calculate the cost of an online order and display the total cost to the customer. Name the file :Number1.py (Do not use data structures, functions, or Python statements we have not covered in class.) Test Case: for 2.5 pounds the total cost is $ 37.4.25

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

At UAlbany each student is assigned a system login name, which the user uses to log into the campus computer system. The university login names are generated by using the first six letters of the last name followed by the first letter of the first name followed by the last two digits of the year they were born. Write a Python program to request from the user their last name, their first name and the year they were born (all four digits). If the students last name is less than five letters long, use the entire last name. The program will let the user know their generated system student login. Name the file : Number3.py

(Do not use data structures, functions, or Python statements we have not covered in class.)

Test case: Joe Doyle born in 1999 --> the student login ID is "DoyleJ99"

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students explore these related Databases questions