How to fix the 20 errors:
/*made by PrestonCurtis1*/
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.println("Hello world");
System.out.println("What is your first name");
String fname = s.nextLine();
System.out.println("What is your last name");
String lname = s.nextLine();
String fullname = fname + " " + lname;
System.out.println(fullname + " Enter first point x value");
double x1 = s.nextDouble();
System.out.println(fullname + " Enter first point y value");
double y1 = s.nextDouble();
System.out.println(fullname + " Enter second point x value");
double x2 = s.nextDouble();
System.out.println(fullname + " Enter second point y value");
double y2 = s.nextDouble();
double numerator = y2 - y1;
double denominator = x2 - x1;
double slope = numerator / denominator;
System.out.println(fullname + " your slope is " + slope);
}
}