Day 12 – Formatting and Proper Displaying of Data – 8/31/26
· Added packet-loss formatting using printf to display percentages to 2 decimal places.
o Improved the final ping-test summary for readability.
· Verified the program correctly calculates and displays:
o Successful tests
o Failed tests
o Packet loss
o Average latency
· Debugged an issue where the old println formatting was still being used.
· Learned how Java printf formatting works, including %.2f, %%, and %n.
· Chose to postpone additional rounding/refinement work until later if needed.
· Day 12 milestone: The analyzer can now perform multiple ping tests, store the results, analyze them, and presents the key network statistics in a clean summary to the user.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.