Saturday, September 17, 2016

CPROM2016 Q1 Multiplication Table

Download Question Here

Change Snippet Background Color
 
import java.util.*;
/**
   Author : Hafiq
   Date :
**/
public class multiplicationTable{
   public static void main(String[] args){
      Scanner scan = new Scanner(System.in);
      int input = scan.nextInt();
      for(int x=1;x<=12;x++){
         System.out.println(x+"*"+input+"="+(x*input));
      }
   }
}
 

1 comment:

  1. Bicycle-Inspired Treadytale - Titanium Bars
    Treadytale – the first-ever citizen titanium watch and authentic bicycle-inspired recipe by mens titanium watches The Bicycle-Inspired. This titanium armor classic titanium dab tool and classic recipe allows you to $19.99 · ‎In stock nano titanium by babyliss pro

    ReplyDelete