Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Adder{
- public static void main(String[] args){
- System.out.println("Hi I`m The Greatest Calculator Ever");
- System.out.println("Enter Two Numbers And i`ll Add them Together");
- Scanner jim = new Scanner(System.in);
- int first = jim.nextInt();
- System.out.println("Plus");
- int second = jim.nextInt();
- int added = first + second;
- System.out.println("Answer");
- System.out.println(added);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement