Write a java program to enter the length and breadth of a rectangle and print its
area and the length of its diagonal.
Answers
Answered by
5
Explanation:
import java. util. Scanner; class AreaOfRectangle.
public static void main(String args[]) {
Scanner s= new Scanner(System. in);
double l= s. nextDouble(); System. out. println("Enter the breadth:");
double b= s. nextDouble();
System. out. println("Area of Rectangle is: " + ......
please mark as BRAINLIEST ANSWER AND FOLLOW ME PLZZZZZZZ PLZZZZZZZ
Answered by
1
Answer:
Write a java program to enter the length and breadth of a rectangle and print its area and the length of its diagonal.
Results in English
एक जावा प्रोग्राम लिखने लंबाई दर्ज करें और एक आयत की चौड़ाई और उसके क्षेत्र और इसके विकर्ण की लम्बाई मुद्रित करने के लिए
हिन्दी में नतीजे
Search Results
Featured snippet from the web
import java. util. Scanner; class AreaOfRectangle.
public static void main(String args[]) {
Scanner s= new Scanner(System. in);
double l= s. nextDouble(); System. out. println("Enter the breadth:");
double b= s. nextDouble();
System. out. println("Area of Rectangle is: " + area); }
Explanation:
please mark as brain list plzzzz follow me guess
Similar questions
Math,
4 months ago
Social Sciences,
4 months ago
Hindi,
4 months ago
Math,
9 months ago
Math,
1 year ago