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 user’s 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.

Respuesta :

Answer:

1.trees_destroyed_per_hectare = 456/2.47  

2. input(no_of_hectares)  

3. no_of_trees_destroyed =no_of_hectares * trees_destroyed_per_hectare

4. print(no_of_trees_destroyed)

Explanation:

1.trees_destroyed_per_hectare = 456/2.47  //conversion of tress destroyed   per acres to hectare

2. input(no_of_hectares)  // get input from user in hectares that how many hectares are destroyed

3. no_of_trees_destroyed =no_of_hectares * trees_destroyed_per_hectare // total number of trees destroyed by fire on given day and given area

4. print(no_of_trees_destroyed)

Q&A Education