diff --git a/README.md b/README.md index 931badb..0d8c68b 100644 --- a/README.md +++ b/README.md @@ -51,4 +51,15 @@ Just as you did in the first lab (Reference the Lab video in your Week 1 module) 4. Then issue a Pull request to my instructor repo 5. **Make sure to COPY the Pull request URL and submit it for the lab/assignment in Canvas.** -Enjoy the learning process! \ No newline at end of file +Enjoy the learning process! + +## Lab 1, Part 1 +- I set up the StumpTheChump program with and error in the print line, did not use () around the x when I had it print. +- Code threw error of variable already defined. +- Partner was able to figure out that something was wrong with the print line, but could not determine what exactly was wrong. +- 1 point for me +- Next I changed the program so that it had a comment line with the right code to input. +- Partner came up with several ways to meet the challenge. +- 2 points for Partner +- We ran out of ability to continue working on further problems together. +- Edited Readme. \ No newline at end of file diff --git a/src/Date.java b/src/Date.java new file mode 100644 index 0000000..87d04fd --- /dev/null +++ b/src/Date.java @@ -0,0 +1,23 @@ +public class Date { + // Little program to show the date. + + public static void main(String [] args) { + String day; + String date; + String month; + String year; + day = "Saturday "; + date = "27 "; + month = "January "; + year = "2024 "; + + // System.out.print (day); + // System.out.print (month); + // System.out.print (date); + // System.out.println (year); + System.out.print (day); + System.out.print (date); + System.out.print (month); + System.out.println (year); + } +} diff --git a/src/StumpTheChump.java b/src/StumpTheChump.java index dffc096..f58f106 100644 --- a/src/StumpTheChump.java +++ b/src/StumpTheChump.java @@ -1,6 +1,11 @@ public class StumpTheChump { // Initially working program. + // Make this say that you can't be stumped so easy. public static void main(String[] args) { System.out.println("Hi Chump, can you be stumped?"); + String x; + // x = "I have stumped the Chump."; + x = "You cant stump me!"; + System.out.print (x); } }