Question 1: (5) The length of the rectangle is 20 cm and the breadth of the rectangle is 30 cm. Write a Java program to calculate and display the area and the perimeter of the rectangle. Hint: Area of Rectangle = Length x Breadth Perimeter of Rectangle = 2(Length + Breadth)
Answers
Answered by
1
Answer:
print (" Welcome to my program ")
print ("Breadth = ") int(input ()) (name it anything)
and the formula that follows
Similar questions