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
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 percent. When the item sells, the items owner receives percent of the sale price, and the shop gets 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 : 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 then calculate the federal tax at otherwise calculate the federal tax at
Calculate the state tax at
Calculate the net salary of the employee. To calculate the net salary, subtract federal and state tax from the gross salary.
Program
Write a program to:
Ask the student for 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 Assign the grade A
If Average is greater than and equal to and equals to Assign the grade A
If Average is greater than or equal to and Average is less than then assign the grade B
If Average is greater or equal and Average is less than then assign the grade C
If Average is less than and greater than assign grade D
If Average is less than or equal 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
