Hi,大家好,這篇文章是對於Java解決以下三個問題。
These codes are used to solve the following three questions:
Q1. Calculate that someone runs 100 meters, half of the remaining distance will be run every second, and how many seconds will it take to run to the end of less than 1 meter?計算某人跑100公尺,每秒鐘會跑剩下距離的一半,問過問過幾秒鐘才會跑到接近終點小於1公尺?
Q2. 質數判斷程式Prime Number Judgment Program
Q3. Use loops to print out specific graphics運用迴圈打印出特定的圖形