Computer Science, asked by reenakj0, 1 month ago

a) Write a program to find the area of Rhombus. Input the length of 2

diagonals.

( length of 2 diagonals must be of double data type )

Hint: area= (diagonal1*diagonal 2)/2

b) Write a program to find the area of Parallelogram. Input length and

breadth. ( Iength and breadth can be int or double data types)

Hint: Area=length * breadth​

Answers

Answered by varshithareddy23
1

Explanation:

1.let 1 diagonal be x other be 2x

2.b×h is area of parallelogram

Similar questions