Write a Java program to calculate distance as s = u*t+1/2 *a*t*t, where u = 2, t = 3 and a = 4.print the output, the class name is distance.
Answers
Answered by
1
on which day the government to take a look at it tomorrow
Answered by
0
Answer:
Input : x1, y1 = (3, 4)
x2, y2 = (7, 7)
Output : 5
Input : x1, y1 = (3, 4)
x2, y2 = (4, 3)
Output : 1.41421
Explanation:
Similar questions