Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE DO THIS IN JAVA!! Program 3: Help for Australia: Due to the wildfires in Australia, the Red Cross has asked for assistance in determining

PLEASE DO THIS IN JAVA!!

Program 3: Help for Australia:

Due to the wildfires in Australia, the Red Cross has asked for assistance in determining how many trees were destroyed per hectare. Australia has a tree density of 456 trees per acre. A hectare is equal to 2.47 acres.

Write the algorithm that determines the conversion from acres to hectares then gets the users input on how many hectares were destroyed on a given day. Then print the total number of trees destroyed by fires based on the information entered by the user and the conversion calculation.

Sample Output:

How many hectares were destroyed today? 2

This many trees were destroyed: 2252.6400000000003

Sample Output #2:

How many hectares were destroyed today? 10

This many trees were destroyed: 11263.2

Sample Output #3:

How many hectares were destroyed today? 50

This many trees were destroyed: 56316.00000000001

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions