Question
Intro Set 1 Programming Assignments Program 1 Develop a program that will interactively allow the user to enter a salespersons name, sales amounts for June,
Intro Set 1 Programming Assignments
Program 1
Develop a program that will interactively allow the user to enter a salespersons name, sales amounts for June, July and August of 2018 and the salespersons commission rate. The program must calculate and display the total sales for the three-month period, the average monthly sales and the salespersons commission for the period. Total sales is calculated by summing the sales amounts for the three months. Average monthly sales is calculated by dividing the total sales by the number of months. Commission is calculated by multiplying total sales by the salespersons commission rate.
Output Format
Total Sales For June, July & August - ####.##
Average Monthly Sales - ####.##
Salespersons Commission - ####.##
Run the program with the following data:
Salesperson Bill Johnson
June Sales $2,200
July Sales $4,800
August Sales $1,600
Commission Rate 22%
Program 2
Develop a program that will allow the user to interactively enter a customers name, the cost of a ticket and the number of tickets to be purchased. The program must calculate and display the total cost of the tickets.
Output Format
The total cost of the tickets is $###.##
Run the program with the following data:
Customer Jenny Bombay
Ticket Cost - $40
Number Of Tickets Purchased 5
Submit the program listing (code) and program output in accordance with the stipulated submission instructions. Collate your submission in the order; program 1 & program 2 with the listing first and the output page after. The printout for each program should begin at the top of a new page.
Email submissions will not be accepted.
This (printed) assignment is due in class at the beginning of class on Monday 2/25.
The score for this assignment must be recorded in the Intro Set 1 Programs box on your Student Record.
in Python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started