+ 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); } }
2 Respostas
+ 2
you are right
thanks