import java.io.*; public class htm1{ public static void main(String argumendid[]) throws IOException{ System.out.println("type the heading here please:"); BufferedReader sisse=new BufferedReader( new InputStreamReader(System.in) ); String head=sisse.readLine(); System.out.println("type two numbers here, please:"); BufferedReader sisse2=new BufferedReader( new InputStreamReader(System.in) ); String rida=sisse2.readLine(); BufferedReader sisse3=new BufferedReader( new InputStreamReader(System.in) ); String veerg=sisse3.readLine(); PrintWriter file=new PrintWriter(new FileWriter("blank.html")); file.println("" +head); file.println("

"+head+"

"); file.println("

Times table:

"); int a=Integer.parseInt(rida); int b=Integer.parseInt(veerg); file.println("
"); file.println("*=
"); file.println("
"); file.println(""); for (int i=1; i<=a; i++){ file.println(""); for (int j=1; j<=b; j++){ file.println("
"+j*i); // file.println(i*j); } } // file.println(""); file.println("
"); file.close(); } }