+ 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); }}

25th Sep 2019, 12:17 PM
Siroja Esus
Siroja Esus - avatar
1 Answer
+ 2
Thank you!
25th Sep 2019, 12:27 PM
Siroja Esus
Siroja Esus - avatar