PAGUE 6 MESES
LEVE 12 MESES
GARANTIR DESCONTO

Fórum aprendendo o java #577987

15/03/2017

0

package Aula16;

public class Notas {

public static void main (String args[]) {

Scanner scan = new Scanner(System.in);

System.out.println("Noat1 ");
double nota1 = scan.nextDouble(); AQUI APARECE O ERRO; The method next.Double() is undefined for the type scanner

System.out.println("Noat2 ");
double nota2 = scan.nextDouble(); AQUI APARECE O ERRO; The method next.Double() is undefined for the type scanner

System.out.println("Noat3 ");
double nota3 = scan.nextDouble(); idem

System.out.println("Noat4 ");
double nota4 = scan.nextDouble(); idem

}
}

o que fazer?
Wahib Mahmud

Wahib Mahmud

Responder

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar