Question: Write a java program. The program asks for an input of the name of a txt file. Then create a Multiplication Table from 1 to
Write a java program. The program asks for an input of the name of a txt file. Then create a Multiplication Table from 1 to 9, and write the table into the file. When you run your program, you may see the result like this:
Enter a file name:
table.txt
Output file has been created: table.txt
When you open the file table.txt in the folder (it should be in the same folder as your java source file), you will see the file as follow:

table.txt - Notepad File Edit Format View Help This is a Multiplication Table 11=112=222=413=323=633=914=415=524=825=1034=1235=1544=1645=2055=2516=626=1236=1846=2456=3066=3617=727=1437=2147=2857=3567=4277=4918=828=1638=2448=3258=4068=4878=5688=6419=929=1839=2749=3659=4569=5479=6389=7299=81
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
