Advertisement
iskren_penev

RectangleArea

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