if (number == 1)//this will use the Square class
{
Square square = new Square(length);
System.out.println("Enter the length: ") ;
length =...
Type: Posts; User: jason3460
if (number == 1)//this will use the Square class
{
Square square = new Square(length);
System.out.println("Enter the length: ") ;
length =...
How can i make it so that,
1. the user presses a number to select a shape, for example, 1 for the Square,
2. then the user enters the Length, for example 4,
3. this number is then sent to the...
Hey, I need to allow the user to select a shape, out of three shapes, Square, Circle or Triangle.
They then input a Length value for that shape, which is then used to calculate the boundary length...