Computer Science, asked by jyotikajulie, 6 months ago

write a program to input mass and velocity of an object and calculate the kinetic energy using the formula energy=1/2mv²​

Answers

Answered by krishjaiswal1701
3

Answer:

Its really easy.

double energy=0.5*m*Math.pow(v,2)

Explanation:

Accept two inputs from user:

variable m and

variable v

And then use the above formula.

Similar questions