/* An involved program! Written by Karen Laws. Oct. 2007
This averages the numbers the user types on the screen. */
import java.util.Scanner;
public class Assignment2
{
public static void main( String args[] )
{
double x;
/* create an object named input, which is supposed to read in data
from the keyboard */
Scanner input;
input=new Scanner(System.in);
System.out.print("Please enter a number to receive the square root and cubed root of it: ");
/* read in the data from the keyboard, using the method nextInt() */
x=input.nextInt( );
double z;
double y;
z=sqrt(x);
y=cbrt(x);
System.out.println("|\tz\t|\t|\t5\t|\t|\ty\t|");
}
}