Sie sind auf Seite 1von 1

qublic static void main(String[] args) {

Scanner reader = new Scanner(System.in);


double a, b, res;
System.out.print("Ingrese a");
a = reader.nextInt();
System.out.print("Ingrese b");
b = reader.nextInt();
res = (((a*a)+(b*b))*1/5);
System.out.println("C vale:" +res)

Das könnte Ihnen auch gefallen