Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want this in C programming language PGM #3 -- Stock Transaction Last month Joe purchased some stock in Acme Software, Inc. Here are the

I want this in C programming language
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
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. 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. 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

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

Write the properties of Group theory.

Answered: 1 week ago