Computer Science, asked by sujathagowtham144, 6 months ago

An athlete takes 18 rounds of a triangular park sides as 30 m, 25m and 35 m, Write a

program to determine the total distance covered by him​

Answers

Answered by allysia
0

Answer:

Using python:

_______________________________

def distance_covered(a,b,c)

      return ("The distance covered will be :" , 18*(a+b+c) )

distance_covered(30,25,35)

________________________________

Explanation:

"def" is used to define a function.

In the program above I wrote a function that takes three parameters and returns their sum multiplied with 18 to the user.

In the last line I called this function on the three values you shared.

Answered by khushi908494
0

Explanation:

The environment can be defined as a sum total of all the living and non-living elements and their effects which influence human life. While all living or biotic elements are animals, plants, forests, fisheries, and birds, etc. The non-living or abiotic elements include water, land, sunlight, rocks, and air, etc.

Similar questions