Uri Online Judge Solution 1004 Simple Product in java


Problem Link
Uri Online Judge Solution 1004 Simple Product
import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner in= new Scanner(System.in);
    int A=in.nextInt();
    int B=in.nextInt();
    int ans=A*B;
    System.out.println("PROD = "+ans);   
  }           
}

No comments

Theme images by enjoynz. Powered by Blogger.