|
|
back to boardworng output!!! whyyy?? import java.util.Scanner; public class Add { public static void main(String args[]) { int a, b, c; Scanner input = new Scanner(System.in); System.out.println("enter two values a and b ="); a = input.nextInt(); b = input.nextInt(); c = a+b; System.out.println("addition of a and b is=" + c); } } Re: worng output!!! whyyy?? |
|
|