Problem 2. Ocean Levels Assuming the ocean's level is currently rising at about 1.8 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for the next 25 years. Design. Use an IPO diagram to design your program. See IPO diagram attached to this assignment. Code. Write your program in Python using the above steps. Output. Your program output should look something like this: Year Rise (in millimeters) 1 1.80 2 3.60 5.40 4 7.20 9.00 6. 10.80 12.60 8. 14.40 16.20 18.00 19.80 12 21.60 23.40 25.20 13 14 15 27.00 16 28.80 17 30.60 18 32.40 19 34.20 20 36.00 21 37.80 22 39.60 41.40 43.20 23 24 25 45.00 O12 34
Problem 2. Ocean Levels Assuming the ocean's level is currently rising at about 1.8 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for the next 25 years. Design. Use an IPO diagram to design your program. See IPO diagram attached to this assignment. Code. Write your program in Python using the above steps. Output. Your program output should look something like this: Year Rise (in millimeters) 1 1.80 2 3.60 5.40 4 7.20 9.00 6. 10.80 12.60 8. 14.40 16.20 18.00 19.80 12 21.60 23.40 25.20 13 14 15 27.00 16 28.80 17 30.60 18 32.40 19 34.20 20 36.00 21 37.80 22 39.60 41.40 43.20 23 24 25 45.00 O12 34
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Write a program in python for problem 2. Code in python.
![Problem 2. Ocean Levels
Assuming the ocean's level is currently rising at about 1.8 millimeters per year, create an application
that displays the number of millimeters that the ocean will have risen each year for the next 25
years.
Design. Use an IPO diagram to design your program. See IPO diagram attached to this assignment.
Code. Write your program in Python using the above steps.
Output. Your program output should look something like this:
Year
Rise (in millimeters)
1.80
3.60
5.40
7.20
9.00
9.
10.80
7
12.60
8.
14.40
9.
16.20
10
18.00
11
19.80
12
21.60
13
23.40
14
25.20
15
27.00
16
28.80
17
30.60
32.40
19
34.20
20
36.00
37.80
39.60
21
22
23
41.40
24
43.20
25
45.00
H11N222 22](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc554450d-7eb7-4a9c-9392-9620241b68a5%2Fe3999dfe-7603-44da-8c7b-d1273c18d00a%2Fh5hsb2_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Problem 2. Ocean Levels
Assuming the ocean's level is currently rising at about 1.8 millimeters per year, create an application
that displays the number of millimeters that the ocean will have risen each year for the next 25
years.
Design. Use an IPO diagram to design your program. See IPO diagram attached to this assignment.
Code. Write your program in Python using the above steps.
Output. Your program output should look something like this:
Year
Rise (in millimeters)
1.80
3.60
5.40
7.20
9.00
9.
10.80
7
12.60
8.
14.40
9.
16.20
10
18.00
11
19.80
12
21.60
13
23.40
14
25.20
15
27.00
16
28.80
17
30.60
32.40
19
34.20
20
36.00
37.80
39.60
21
22
23
41.40
24
43.20
25
45.00
H11N222 22
![Programming Style Requirements.
Comments-Begin your program with a comment that includes: a) your name, b)program status-
either "Complete" or describe any incomplete or non-functioning part of your program c)A 1-3 line
description of what the program does.
Variable names-usemeaningfulvariable names such as total taxes or num cookies.
Named constants-Use named constants for all numbervalues that will not be changed in the
program such as RECIPE SUGAR = 1.5. See section 2.9 on Named Constants](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc554450d-7eb7-4a9c-9392-9620241b68a5%2Fe3999dfe-7603-44da-8c7b-d1273c18d00a%2Fgs9sdll_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Programming Style Requirements.
Comments-Begin your program with a comment that includes: a) your name, b)program status-
either "Complete" or describe any incomplete or non-functioning part of your program c)A 1-3 line
description of what the program does.
Variable names-usemeaningfulvariable names such as total taxes or num cookies.
Named constants-Use named constants for all numbervalues that will not be changed in the
program such as RECIPE SUGAR = 1.5. See section 2.9 on Named Constants
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY