import javax.swing.*;
public class Test
{
int num1,num2;
while(true)//illegal start of type
{
num1=Integer.parseInt(JOptionPane.showInputDialog("Enter a number please:"));
num2=Integer.parseInt(JOptionPane.showConfirmDialog("Enter another number please:"));
if(num2!=0&&num1/num2>=10)
System.out.println(num1/num2);
else
System.out.print("The result is less than 10!");
}
}//<identifier> expected