> What are the errors in this Java program?

What are the errors in this Java program?

Posted at: 2014-12-18 
Firstly I don't see where num1 and num2 are defined. Secondly

1. There is a space between "num" and "2" in the first if statement

2. There are no code blocks braces { and } in this entire method.

3. The System.out.print("The quotient of" + Num1); is wrong because Java is CASE Sensitive so it should be num1 not Num1; same thing goes for the next line.

// Warning! This code contains ERRORS!

if (num 2 == 0)

System.out.println(“Division by zero is not possible.”);

System.out.println(“Please run the program again ”);

System.out.println(“and enter a number besides zero.”);

else

Quotient = num1 /num2;

System.out.print(“The quotient of ” + Num1);

System.out.print(“ divided by ” + Num2 + “ is ”);

System.out.println(Quotient);