write a program in Java to find out the diagonal of a square taking side of square as an input
Answers
Answered by
9
Answer:
Given an number d which is length of diagonal of a square, find its area.
Examples:
Input : d = 10
Output : Area = 50
Input : d = 12.2
Output : Area = 74.42
Explanation:
I hope it may help u
Similar questions