-1
Scanner deltas = new Scanner(System.in);
Double ds;
System.out.println("Insira o valor de Delta S");
ds = deltas.nextDouble();
setDeltas(ds);
Scanner deltat = new Scanner(System.in);
Double dt;
System.out.println("Insira o valor de Delta S");
dt = deltat.nextDouble();
setDeltat(dt);
Double velo = ds/dt;
System.out.printf ("Sua velocidade media é: ", velo);
Thank you very much!
– ZeroCold