Chat with us, powered by LiveChat Write a program that displays the following information:? Your name? Your address, with city, state, and ZIP? Your telephone number? Your college major? Q2.? A customer - Essayabode

Write a program that displays the following information:? Your name? Your address, with city, state, and ZIP? Your telephone number? Your college major? Q2.? A customer

 

Online Python:

https://www.programiz.com/python-programming/online-compiler/

https://www.online-python.com/

https://www.online-python.com/online_python_compiler

==========================================

Week 3: Assignment 

Compete the following questions.  

Submission 

  • Python Code 
  • Screenshot of the running program  

Q1. Write a program that displays the following information: 

Your name 

Your address, with city, state, and ZIP 

Your telephone number 

Your college major 

Q2. 

A customer in a store is purchasing five items. Write a program that asks for the price of each item, then displays the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is 7 percent. 

Q3. Write the following code and submit the screenshot of the running program. 

# Get the user's name, age, and income. 

name = input('What is your name? ') 

age = int(input('What is your age? ')) 

income = float(input('What is your income? ')) 

# Display the data. 

print('Here is the data you entered:') 

print('Name:', name) 

print('Age:', age) 

print('Income:', income) 

Q4. Write the following code and submit the screenshot of the running program. 

# This program gets an item's original price and 

# calculates its sale price, with a 20% discount. 

# Get the item's original price. 

original_price = float(input("Enter the item's original price: ")) 

# Calculate the amount of the discount. 

discount = original_price * 0.2 

# Calculate the sale price. 

sale_price = original_price – discount 

# Display the sale price. 

print('The sale price is', sale_price) 

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

    Do you need an answer to this or any other questions?