import java.io.*; public class Esfera { public static void main(String []args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try { int raio; double volume; System.out.print("ENTRE COM O VALOR DO RAIO:"); raio = Integer.parseInt(in.readLine( )); volume = (4*Math.PI*Math.pow(raio,3))/3; System.out.print("O VOLUME DA ESFERA:" + volume); } catch(IOException e) { System.out.print("Erro de leitura"); } } } /* início real: RAIO, VOLUME; escreva ("Entre com o valor do raio:"); leia (RAIO); VOLUME? (4 * PI * POT(RAIO,3))/3; imprima ("O volume da esfera:", VOLUME); fim*/