Write a program to find addition of three numbers using scanner class
Answer»
Import java.util.*; CLASS Addition { public static VOIDMAIN() { Scanner sc=new scanner (System.in); int a,b,c,ADD; System.out.println("Enter the value of a,b,c"); a=sc.nextInt(); b=sc.nextInt(); c=sc.nextInt(); add=a+b+c; System.out println("Print the sum="+add); } }