Question: Program 1 . A consignment shop accepts a product for sale and sets an initial price. Each month that the item doesn t sell, the

Program 1.
A consignment shop accepts a product for sale and sets an initial price. Each month that the item doesnt sell, the price is reduced by 20 percent. When the item sells, the items owner receives 60 percent of the sale price, and the shop gets 40 percent. Write a program to represent the logic of a program that allows the user to enter an original product price. The output is the sale price, the owners cut, and the shops cut each month for the first three months the item is on sale.
Program 2 : Gross Pay
Write a program to fetch employee name and the salary. Calculate the Federal tax and state tax based on the following criteria:
If the salary is greater than 100000 then calculate the federal tax at 20% otherwise calculate the federal tax at 15%
Calculate the state tax at 5%
Calculate the net salary of the employee. To calculate the net salary, subtract federal and state tax from the gross salary.
Program 3.
Write a program to:
Ask the student for 3 exam scores.
Calculate the average score.
Using a bunch of IF conditions, the computer should determine the grade and display the grade to the user. Use the following Criteria:
If Average is greater than 90... Assign the grade A
If Average is greater than and equal to 88 and equals to 90...Assign the grade A-
If Average is greater than or equal to 80 and Average is less than 88 then assign the grade B
If Average is greater or equal 70 and Average is less than 80 then assign the grade C
If Average is less than 70 and greater than 60 assign grade D
If Average is less than or equal 60 assign grade "F"
Display the grade back to the student.
-include flowchart for each program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!