Placeholder

CS192 Programming Essentials – Week 6 Assignment

$19.00

Description

Modify your program from week 5 so that the program utilizes object-oriented programming to create an application which allows the user to create, delete or modify orders. Your program should do the following in order:
1. Define a class and class variables
2. Create a function to set the order amount
·         Set order amount
3. Create a function to set order type
·         Set order type
4. Create a function to set the order number
·         Set order number
5. Create a function to get the order amount
·         Return the order amount
6. Create a function to get the order type
·         Return the order type
7. Create a function to get the order number
·         Return the order number
8.    Modify the function to display the order menu
Display a menu so that the user can select 1 of 6 options:
·         Add Order
·         Delete Order
·         Edit Order
·         Display Order
·         Save Order
·         Exit the Program
9.    Create a new function to save the order items added to the list in a text file.
10.  Repeatedly execute the menu selections unit the user enters 6 to exit the program.
Examples of the program’s input and output is shown below:
Add and Edit Order
Print, Save, and Exit Order
Order Saved To Text File
SCREENSHOTS
SOLUTION
PAYMENT
The solution consists of:
A report word document for this assignment
All Python programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CS192_WEEK_6.zip (215.88 KB)
CS192-Week-6-Screenshot-1.png
CS192-Week-6-Screenshot-2.png
CS192_Week6_Report.docx
Pycharm Project
CS192Week6
.idea
.gitignore
CS192Week6.iml
inspectionProfiles
profiles_settings.xml
misc.xml
modules.xml
workspace.xml
week6.py
Python code
week6.py
Preview week6.py
xxx xxx_xxxxx_xxxxxx(xxxx, xxxxx_xxxxxx):
xxxx._xxxxx_xxxxxx = xxxxx_xxxxxx
xxx xxx_xxxxx_xxxxxx(xxxx):
xxxxxx xxxx._xxxxx_xxxxxx
def set_order_type(self, order_type): self._order_type = order_type
def get_order_type(self): return self._order_type
def set_order_number(self, order_number): self._order_number = order_number
def get_order_number(self): return self._order_number
xxx xxxxxxx_xxxxx(xxxx):
xxxxx(‘ xxxxx xxxxxx: %x’ % xxxx._xxxxx_xxxxxx)
xxxxx(‘ xxxxx xxxx: %x’ % xxxx._xxxxx_xxxx)
xxxxx(‘ xxxxx xxxxxx: %x’ % xxxx._xxxxx_xxxxxx)
Preview week6.py
xxx xxx_xxxxx_xxxxxx(xxxx, xxxxx_xxxxxx):
xxxx._xxxxx_xxxxxx = xxxxx_xxxxxx
xxx xxx_xxxxx_xxxxxx(xxxx):
xxxxxx xxxx._xxxxx_xxxxxx
def set_order_type(self, order_type): self._order_type = order_type
def get_order_type(self): return self._order_type
def set_order_number(self, order_number): self._order_number = order_number
def get_order_number(self): return self._order_number
xxx xxxxxxx_xxxxx(xxxx):
xxxxx(‘ xxxxx xxxxxx: %x’ % xxxx._xxxxx_xxxxxx)
xxxxx(‘ xxxxx xxxx: %x’ % xxxx._xxxxx_xxxx)
xxxxx(‘ xxxxx xxxxxx: %x’ % xxxx._xxxxx_xxxxxx)
Price: $19
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.