+ 1
Подскажите где ошибка/Where is mistake?
import java.util.Scanner; public class myclass{ public static void main(String[]args){} Scanner scn=new Scanner(System.in); int first = scn.nextInt(); System.out.println("Your first num. "+ int first); int two = scn.nextInt(); System.out.println("Your two num. "+ int two); int result = first + two; System.out.println("Your result: " + int result); }}
3 Respuestas
+ 2
Thank you!