Generation

translateSun, 22 Sep 2024

dividir 2 numeros los cuales tengo que digitar en el teclado

ublic class Java { public static void main(String[] args) { int a, b; Scanner sc = new Scanner(System.in); System.out.println("Enter two numbers"); a = sc.nextInt(); b = sc.nextInt(); System.out.println("The sum of the two numbers is " + (a+b))

Want to kickstart your project?Use the new AI Studio to create your code