Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question
P1HW2 Using IDLE Math
Introduction:
Assignment requires Using IDLE to create and test code learned and.
Instructions:
For this assignment you will create a program in IDLE, using IDLE is referenced in "Introduction to Python3" of your ZyBook, that does some basic math on two numbers that are entered. The instructions below explain the program requirement:
In this assignment you will create a program that allows user to enter the name and cost of an expense. The program then is to calculate a 6% tax and notify user how much they will be spending on that expense each month and for the whole year.
1.Create a Python code file named P1HW2 BasicMath LastnameFirstname.py
(replace "FirstLast" with your own name)
2. Add a title comment block to the top of the new Python file using the following form
#A brief description of the project
# Date
# CTI-110 P1HW2 - Basic Math
# Your Name
#
3. Ask user to enter the name of the expense.
4. Ask user to enter how much they are charged for that expense/bill monthly (without tax).
5. Calculate monthly tax
6. Calculate amount paid monthly
7. Calculate amount paid for entire year.
8. Display results.
Example of output is shown below (Note that results may vary depending on numbers entered)
Enter name of expense: Cable
Enter monthly charge: 110
nill: Cable
Monthly Tax:
Monthly Charge: $116.60
Annual Charge:
Before Tax: S110.0
$6.60
$1399.20
Note: When displaying the information in step 8, make sure you provide explanation to what's being displayed.
8. Submit your finished code solution file(s) through this assignment link by the posted deadline
Important Notes:
Write program Pseudocode (detail algorithm) and add it as a comment block to the submitted program. (10 points)
Grading Criteria:
Refer to the grading criteria posted in the "Assignments tab"
expand button
Transcribed Image Text:P1HW2 Using IDLE Math Introduction: Assignment requires Using IDLE to create and test code learned and. Instructions: For this assignment you will create a program in IDLE, using IDLE is referenced in "Introduction to Python3" of your ZyBook, that does some basic math on two numbers that are entered. The instructions below explain the program requirement: In this assignment you will create a program that allows user to enter the name and cost of an expense. The program then is to calculate a 6% tax and notify user how much they will be spending on that expense each month and for the whole year. 1.Create a Python code file named P1HW2 BasicMath LastnameFirstname.py (replace "FirstLast" with your own name) 2. Add a title comment block to the top of the new Python file using the following form #A brief description of the project # Date # CTI-110 P1HW2 - Basic Math # Your Name # 3. Ask user to enter the name of the expense. 4. Ask user to enter how much they are charged for that expense/bill monthly (without tax). 5. Calculate monthly tax 6. Calculate amount paid monthly 7. Calculate amount paid for entire year. 8. Display results. Example of output is shown below (Note that results may vary depending on numbers entered) Enter name of expense: Cable Enter monthly charge: 110 nill: Cable Monthly Tax: Monthly Charge: $116.60 Annual Charge: Before Tax: S110.0 $6.60 $1399.20 Note: When displaying the information in step 8, make sure you provide explanation to what's being displayed. 8. Submit your finished code solution file(s) through this assignment link by the posted deadline Important Notes: Write program Pseudocode (detail algorithm) and add it as a comment block to the submitted program. (10 points) Grading Criteria: Refer to the grading criteria posted in the "Assignments tab"
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY