26 Aug eate some comments at the top of the file:
eate some comments at the top of the file:
- Python Final Project: Acme Department Store of Paramus – Christmas Shopping List App
- Author: Your Name
- School: Pace University
- Course: CIS101
- Instructor: Professor Michael Sidaras-Tirrito
- Semester: Fall 2018
- Date Created: An actual date you created the file
- Defines the following functions
- A function named displayMenu that displays the menu of choices to choose from, as evidenced in the output sample below.
- A function named getChoice that collects a number from the user and returns that number in order to determine the choice selected
- A function named updateShoppingList that displays the names of the loved ones and their index numbers, then asks the user to enter a choice for which record to update. It should then change the 9th field of that record (the completion status) to “completed”. Part of this function will already have been created for you by the professor.
- A function named displayShoppingList that displays all the content from the entire list. For each loved one whose completion status is marked as completed, it will have to calculate the total spent, along with the difference from the budgeted amount. Part of this function will already be created by your professor.
- A function named exitProgram that prints the thank you banner so that the application can end.
- Initializes the following:
- An array named christmasShoppingList, of size 5 (This is for the records of different loved ones. See the Shopping List Table Below – This will already have been created by the professor.)
- Nested Sub-Arrays, each of size 9 (To store records of data; there are nine fields. Again, see the Shopping List Table Below – This will already have been created by the professor.)
- A numeric variable named totalSpent, defaulted to 0.0
- A numeric variable named differenceSpent, defaulted to 0.0
- A numeric variable named choice, defaulted to 0
- Starts a while loop to keep the program running for as long as the user wants. This will be programmed by your professor.
- Displays the Welcome Banner shown in the sample output
- Calls the displayMenufunction
- Calls the getChoicefunction and catches the returned value into the choice variable
- Uses an if statement to determine which function to call next. The if statement will be partially written by the professor. You will have to add the appropriate calling statements where they belong in the if statement.
- If the choice was 1, call the updateShoppingList function
- If the choice was 2, call the displayShoppingList function
- If the choice was 3, call the exitProgram function (Program will self-terminate after this)
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.