18 ~ 21 行目でこのエラーが発生する理由を知る必要があります。ブラケット関連の問題かもしれない気がしますが、わかりません。
import java.util.Scanner;
public class Proj4_1 {
public static void main(String [] args) {
Scanner reader = new Scanner(System.in);
int numb1 =;
int numb2 =;
int div =;
int remainder =;
System.out.println("Enter a number: ");
numb1 = reader.nextint();
System.out.print(numb1);
System.out.println("Enter another number: ");
numb2 = reader.nextint();
System.out.print(numb2);
if (numb1>numb2){
div = numb1 / numb2;
remainder = numb1 % numb2;
}else{
if (numb2>numb1)
div = numb2 / numb1;
remainder = numb2 % numb2;
}
System.out.println("The answer quotient is " +div+ "with a remainder of" +remainder);
どんな助けやアドバイスも大歓迎です、事前に感謝します