IRusev

Problem 1. Rectangle Area

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