Question: Description This is the Programming Assignment Artifact for PSET_2; and the Submission Portal for your completed assignment. A description of the problem set is found



Description This is the Programming Assignment Artifact for PSET_2; and the Submission Portal for your completed assignment. A description of the problem set is found in the file: "PSET_2 - PROGRAMMING SET PROBLEM DESCRIPTIONS". Click the 'Next' button to display. Complete and Submit your assignment using the format in the "PROGRAMMING SET SUBMISSION FORMAT" document and the "PROGRAMMING SET SUBMISSION DOCUMENT TEMPLATE" which can be Downloaded from the 'COURSE INFORMATION' Module. PSET_2 - PROGRAMMING SET PROBLEM DESCRIPTION PGM \#1 -- Restaurant Bil1 Write a program that computes the tax and tip on a restaurant bill for a patron with a $88.67 meal charge. The tax should be 6.75 percent of the meal cost. The tip should be 20 percent of the total after adding the tax. Display the meal cost, tax amount, tip amount, and total bill on the screen. TEST CASE: Demonstrate your program by displaying your results. Suppose an employee gets paid every two weeks and earns $2,200 each pay period. In a year the employee gets paid 26 times. Write a program that defines the following variables: payAmount - This variable will hold the amount of pay the employee earns eachpay period. Initialize the variable with 2200 payperiods - This variable will hold the number of pay periods in a year. Initialize the variable with 26. PGM \#3 -- Stock Transaction Last month Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase: - The number of shares that Joe purchased was 2,000 . - When Joe purchased the stock, he paid $32.87 per share. - Joe paid his stockbroker a commission that amounted to 2 percent of the amount he paid for the stock. Two weeks later Joe sold the stock. Here are the details of the sale: - The number of shares that Joe sold was 1,000. - He sold the stock for $33.92 per share. - He paid his stockbroker another commission that amounted to 2 percent of the amount he received for the stock. TEST CASE: Demonstrate your program by displaying: - Amount paid for the stock - Commission paid on the purchase - Amount the stock sold for - Commission paid on the sale - Profit (or loss if negative) Submit your assignment using the format in the (1) "PROGRAMMING SET SUBMISSION FORMAT" and the (2) "PROGRAMMING SET SUBMISSION DOCUMENT TEMPLATE" which can be Downloaded from the 'COURSE INFORMATION' Module
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
