結果 : write an algorithm draw a flowchart and write a javascript program to print the following pattern