TOPIC

wrong 80 - java

pcaroline asked 3 years ago

import java.io.IOException; import java.util.Scanner;

public class Main {

public static void main(String[] args) throws IOException {

  Scanner input = new Scanner(System.in);

  double a = input.nextDouble();

  double b = input.nextDouble();

  double c = input.nextDouble();

  a = a*2;
  b = b*3;
  c = c*5;

  double media = (a+b+c)/10;

 System.out.println("MEDIA = "+ media);

}

}

Nao consigo achar o erro

Remember not post solutions. Your post may be reviewed by our moderators.

  • pcaroline replied 3 years ago

    Ola, tirei essas instrucoes e ainda consta erro

  • EsraelSousa-IFCE_TIANGUA replied 3 years ago

    Olá!Em juízes online você não imprimir instruções do tipo "insira um valor" ou coisas semelhantes. A não ser que o problema peça