1.

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

Answer»

Its really easy.double energy=0.5*m*Math.pow(v,2)EXPLANATION:ACCEPT two inputs from user:variable m and variable VAND then USE the above formula.



Discussion

No Comment Found