Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a program that asks the user for total amount of purchase and computes the tax (assume the tax rate is 7%). Also,

 

1. Write a program that asks the user for total amount of purchase and computes the tax (assume the tax rate is 7%). Also, ask the user if the product is being shipped to New York. If yes, add an additional shipping fee of $9.99 to the final cost. Display the total cost using proper formatting. (30 pts) 2. Write a program to input five numbers and only display the even ones if there are any. (35 pts) 3. Write a program that prompts the user for three numbers then displays them the in descending order. (35 pts)

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

Step: 3

blur-text-image

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

Matlab An Introduction with Applications

Authors: Amos Gilat

5th edition

1118629868, 978-1118801802, 1118801806, 978-1118629864

More Books

Students also viewed these Programming questions