From 645b0b29f54bd548d739f034010de2743b834ac8 Mon Sep 17 00:00:00 2001
From: johns <johns@192.168.2.9>
Date: Fri, 12 May 2023 00:06:46 -0700
Subject: [PATCH] Modified (formatting and loop count)

---
 .../homework3/Fredrickson/ExampleSimulationProgram.java     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/assignments/src/MV3500Cohort2023MarchJune/homework3/Fredrickson/ExampleSimulationProgram.java b/assignments/src/MV3500Cohort2023MarchJune/homework3/Fredrickson/ExampleSimulationProgram.java
index cda610e204..c3ea72958c 100644
--- a/assignments/src/MV3500Cohort2023MarchJune/homework3/Fredrickson/ExampleSimulationProgram.java
+++ b/assignments/src/MV3500Cohort2023MarchJune/homework3/Fredrickson/ExampleSimulationProgram.java
@@ -27,6 +27,8 @@ import java.util.logging.Logger;
  *  @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/blob/master/examples/src/OpenDis7Examples/ExampleSimulationProgramSequenceDiagram.png">ExampleSimulationProgramSequenceDiagram.png</a>
  * 
  * JOHN FREDRICKSON
+ * -formatting changes made
+ * -set to loop 15 times
  * 
  */
 public class ExampleSimulationProgram
@@ -196,7 +198,7 @@ public class ExampleSimulationProgram
     {
       try
       {              
-        final int     SIMULATION_MAX_LOOP_COUNT = 10; // be deliberate out there!  also avoid infinite loops.
+        final int     SIMULATION_MAX_LOOP_COUNT = 15; // be deliberate out there!  also avoid infinite loops.
               int     simulationLoopCount = 0;        // variable, initialized at 0
               boolean simulationComplete = false;     // sentinel variable as termination condition, are we done yet?
         
@@ -230,7 +232,7 @@ public class ExampleSimulationProgram
             // etc. etc. your code goes here for your simulation of interest
                 
             // something happens between my simulation entities, la de da de da...
-            System.out.println ("... My simulation just did something, no really...");
+            System.out.println ("... My simulation just did something, no really...\n");
             System.out.flush(); // make sure this arrives to user even if other threads somehow become deadlocked
             
             
-- 
GitLab