Computer Science, asked by gyaneshwarrao8725, 7 months ago

A rectangular piece of land measures 0.7 km by 0.5 km. Each side is to be fenced with 4 rows of wires. Write a Java program to determine the length of the wire needed.

Answers

Answered by nareshc13579
2

Given length of rectangle field = 0.7 km

breadth of rectangle field = 0.5 km

Perimeter of rectangle field = 2[l+b]

=2[0.7+0.5]

Perimeter of field = 1.2×2=2.4km

length of filed fencing = 4P=4×2.4

length of fence = 9.6km

∴ length of wire needed is 9.6 km.

follow me and mark me as brainlist

Similar questions