Advertisement
YavorGrancharov

RectangleArea

Dec 14th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class RectangleArea {
  3.  
  4.     public static void main(String[] args) {
  5.         Scanner input = new Scanner(System.in);
  6.         int a = input.nextInt();
  7.         int b = input.nextInt();
  8.  
  9.         System.out.println(a * b);
  10.     }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement