+ 2
Find the code errors
import java.util.Scanner; class Addnum { public static void main (String args[]) { int x,y,z; System.out.println("Enter your two numbers for sum:"); Scanner in= new Scanner(System.in); x= in.nextlnt(); y= in.nextlnt(); z=x+y; System.out.println("Sum of your number is :"+z); } }
1 ответ
+ 2
you are right
thanks