1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sveticcg [70]
3 years ago
14

During the past decade ocean levels have been rising faster than in the past, an average of approximately 3.1 millimeters per ye

ar. Write a program that computes how much ocean levels are expected to rise during the next 15 years if they continue rising at this rate. Display the answer in both centimeters and inches.
Computers and Technology
1 answer:
Alecsey [184]3 years ago
4 0

Answer:

Program in Python is as follows:

rise = 3.1

for i in range(1,16):

     print("Rise in Year "+str(i))

     cm = rise * 0.1 * i

     inch = rise/25.4 * i

     print(str(cm)+" centimetres")

     print(str(inch)+" inches")

     print

Explanation:

This line initializes the rise of the ocean level

rise = 3.1

The following iterates from 1 to 15 (which stands for year)

<em>for i in range(1,16):</em>

   print("Rise in Year "+str(i))

This calculates the rise in each year in centimetre

   cm = rise * 0.1 * i

This calculates the rise in each year in inches

   inch = rise/25.4 * i

The line prints calculated ocean rise in centimetres

   print(str(cm)+" centimetres")

The line prints calculated ocean rise in inches

   print(str(inch)+" inches")

     print

You might be interested in
2.Consider the following algorithm and A is a 2-D array of size ???? × ????: int any_equal(int n, int A[][]) { int i, j, k, m; f
Elis [28]

Answer:

(a) What is the best case time complexity of the algorithm (assuming n > 1)?

Answer: O(1)

(b) What is the worst case time complexity of the algorithm?

Answer: O(n^4)

Explanation:

(a) In the best case, the if condition will be true, the program will only run once and return so complexity of the algorithm is O(1) .

(b) In the worst case, the program will run n^4 times so complexity of the algorithm is O(n^4).

5 0
3 years ago
King(a. has eaten b.ate c.had eaten) when Airah called​
Alenkinab [10]

Answer:

c

Explanation:

king had eaten when Airah called

3 0
2 years ago
Can we change our profile name on here and how
TiliK225 [7]
Only by making a new account
4 0
3 years ago
Read 2 more answers
UML is a graphical language that is used for designing and documenting software created within the _____________ framework. (a)
stealth61 [152]

Answer:

The answer is "option d".

Explanation:

UML stands for Unified Modeling Language. It is an OOPs based language that is used to design a graphic by software developers. This language can also be used to build diagrams and provide some tools to ready-to-use, interactive templates for users and other options are not correct that can be described as:

  • In option a, The Top-down approach is not followed by UML.
  • In option b, UML uses an object-oriented programming language that follows a bottom-up approach. It refers to a style of programming.
  • In option c, It does not use structured programming because it uses procedural languages.

7 0
2 years ago
Assume your organization has 200 computers. You could configure a tool to run every Saturday night. It would query each of the s
lukranit [14]

The tool that would provide a report listing all systems that are out of compliance, including specific issues is Security Compliance Manager.

<h3>What are compliance tools?</h3>

The Security Compliance Manager is known to be a form of downloadable tool that one can use as it helps a person to plan, ascribe, operate, and manage a person's security baselines for Windows client and other forms of server operating systems.

Note that in the case above, The tool that would provide a report listing all systems that are out of compliance, including specific issues is Security Compliance Manager.

Learn more about Security Compliance Manager from

brainly.com/question/24338783

#SPJ1

4 0
2 years ago
Other questions:
  • 9. Name at least two types of hard drives?
    6·1 answer
  • When selecting current page from the print range, on the print dialong box it will print
    5·1 answer
  • Which best describes the benefits of renting a home?
    10·2 answers
  • When you set the position property for a block element to fixed, the element
    5·1 answer
  • After adding an email account, how do you switch accounts to send a message?
    10·2 answers
  • What is hydraulic fracturing?
    7·1 answer
  • What are the features of a strong résumé? Check all that apply.
    7·1 answer
  • A technician receives an invalid certificate error when visiting a website with port 443 enabled. Other computers on the same LA
    8·1 answer
  • Write an algorithm to display your name 10 times​
    5·1 answer
  • What is 2+2 I need to know hurry
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!