Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

why my java eclipse out like this ,this program runnable on mac.. public class AreaRectangle { public static void main (String[] args) { double length

image text in transcribedwhy my java eclipse out like this ,this program runnable on mac..

public class AreaRectangle { public static void main (String[] args) { double length = 0: double width = 0: double area: length = Length (length): width = width(width): area = area (length, width): displayData (length, width, area): System, exit(0): } public static double length (double length){ Scanner keyboard = new Scanner(system.in): System.out.print ("Enter the your length: "): return length = keyboard.nextDouble(): } public static double width (double width){ Scanner keyboard = new Scanner(System.in): System.out.print ("Enter the your width: "): return width = keyboard.nextDouble();} public static double area (double length double width){ double area: area = length * width: System, out.println(area) return area: } public static double displayData (double length, double width, double area){ System out println("the data of this program includes length "+length+" width" +width +"Area" + area): return area: } }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

Explain methods of metal extraction with examples.

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago