Write a program named program31py that prompts the user to


- Plan each program by writing pseudocode.

- Write all of your pseudocode as comments immediately after your name and SPC ID# comment.

- Add more comments as needed in each program to explain what your code is doing.

- Choose descriptive variable names in all programs.

1. Write a program named program31.py that prompts the user to enter an integer, then responds by identifying the input as either odd or even as appropriate.

2. Write a creative program named program32.py that delivers a short quiz (two questions only) about our solar system. The program should pose the questions, prompt the user for the answers, and provide positive or negative feedback as appropriate. The questions are up to you except for this requirement: one quiz question should require a string answer and the other should require a numeric answer.

3. Orinoco.com sells T-shirts online for $14.95 each. Discounts are provided for quantity orders as follows:
- 40% off for 12 or more shirts.
- 30% off for 7 or more shirts.
- 20% off for 3 or more shirts.

Shipping and handling is charged at $1.25 per shirt. Write a Python program named program33.py that prompts the user to enter the quantity of an Orinoco order, then displays the charges for the T-shirts, the required shipping charges, and the total cost of the order. Note that three outputs are required. All charges should be displayed in currency format with the $ sign right up against the first digit.

Solution Preview :

Prepared by a verified Expert
Computer Network Security: Write a program named program31py that prompts the user to
Reference No:- TGS01667167

Now Priced at $50 (50% Discount)

Recommended (95%)

Rated (4.7/5)