Venciity

[SoftUni Java] Syntax - 01.RectangleArea

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