From 2144358931afec19321643e7076b32e132c98614 Mon Sep 17 00:00:00 2001 From: loosebruce79 <102570274+loosebruce79@users.noreply.github.com> Date: Sat, 2 Sep 2023 20:27:43 -0700 Subject: [PATCH 1/2] Bud Ross Lab002 --- .idea/misc.xml | 1 - src/LikeAGirl.java | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 03f397c..ca950ab 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/src/LikeAGirl.java b/src/LikeAGirl.java index 30b943b..86e52e0 100644 --- a/src/LikeAGirl.java +++ b/src/LikeAGirl.java @@ -13,17 +13,17 @@ public static void main(String[] args) { String scriptTemplateLine4 = "How do you think it affects them when somebody uses \"%s\" as an insult? Choice (good: %d, bad: %d) "; String scriptTemplateLine5 = "You answered %d%n%s."; - String ansGood = "Always wants to change that.%nEmotional Damage %f"; - String ansBad = "Good for you.%nEmotional Damage %f"; - String likeAGirl = "Like a Girl"; + String ansBad = "Always wants to change that.%nEmotional Damage %f"; + String ansGood = "Good for you.%nEmotional Damage %f"; + String likeAGirl = "Like a Boy"; // integer variable - int good = 0; - int bad = 1; + int good = 1; + int bad = 2; // 32 bit floating point variable float emotionalDamage = 0.0f; // 32 Bit, but it does exist! // double precision floating point variable - double dEmotionalDamage = 100.0; // Double precision + double dEmotionalDamage = 50.0; // Double precision // boolean variable boolean trueOrFalse; // Scanner variable for reading input. From 7892ffc20a411499438ab87682b1715a4af13ac9 Mon Sep 17 00:00:00 2001 From: loosebruce79 <102570274+loosebruce79@users.noreply.github.com> Date: Sat, 2 Sep 2023 20:27:43 -0700 Subject: [PATCH 2/2] Bud Ross Lab002 --- .idea/misc.xml | 1 - src/LikeAGirl.java | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 03f397c..ca950ab 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/src/LikeAGirl.java b/src/LikeAGirl.java index 30b943b..86e52e0 100644 --- a/src/LikeAGirl.java +++ b/src/LikeAGirl.java @@ -13,17 +13,17 @@ public static void main(String[] args) { String scriptTemplateLine4 = "How do you think it affects them when somebody uses \"%s\" as an insult? Choice (good: %d, bad: %d) "; String scriptTemplateLine5 = "You answered %d%n%s."; - String ansGood = "Always wants to change that.%nEmotional Damage %f"; - String ansBad = "Good for you.%nEmotional Damage %f"; - String likeAGirl = "Like a Girl"; + String ansBad = "Always wants to change that.%nEmotional Damage %f"; + String ansGood = "Good for you.%nEmotional Damage %f"; + String likeAGirl = "Like a Boy"; // integer variable - int good = 0; - int bad = 1; + int good = 1; + int bad = 2; // 32 bit floating point variable float emotionalDamage = 0.0f; // 32 Bit, but it does exist! // double precision floating point variable - double dEmotionalDamage = 100.0; // Double precision + double dEmotionalDamage = 50.0; // Double precision // boolean variable boolean trueOrFalse; // Scanner variable for reading input.