my time is started i will be the millonire
[url=https://https://www.coinpayu.com/?r=Serpent38][img]https://www.coinpayu.com/static/advertiser_banner/468X60.gif[/img][/url][url=https://https://www.coinpayu.com/?r=Serpent38][img]https://www.coinpayu.com/static/advertiser_banner/468X60.gif[/img][/url]import java.util.Scanner;
public class FirstClass {
public static void main(String[] args) {
System.out.println("Taking input from the user");
Scanner sc = new Scanner(System.in);
System.out.println("Enter the number 1");
int a = sc.nextInt();
System.out.println("Enter the number 2");
int b = sc.nextInt();
int sum = a + b;
System.out.println("Sum of these numbers is: " + sum);
}
}
0 Comments