Rob Hallam
1ffe5ad5b6
(fix) Bugfix "How many years old are you" exercise
It blithely ignored unimportant things like what day of the year it is today and
in the DOB.
Note that Java Calendar instances are zero-indexed, so Calendar.set(1990, 12, 1)
sets the object to 1st January 1991, not 1st Dec 1990 (!!)
1 år sedan
Rob Hallam
a8f1e05092
(feat) Implement Lab 6 exercise 5 - number guessing game (AI)
user guessing when we get stdin working
1 år sedan
Rob Hallam
f419b03675
(feat) Lab 6 exercise 9 - Rock Paper Scissors (no input version)
1 år sedan
Rob Hallam
992c14be3b
(feat) Lab 7 - string formatting implemented
Plus placeholder for lab 6 exercise 9 (rock-paper-scissors)
1 år sedan
Rob Hallam
3d7f4d6817
(feat) Lab 6 Exercise 8 - left padding a string
1 år sedan
Rob Hallam
1052e8e5b6
(refactor) Change Section to Exercise
1 år sedan
Rob Hallam
20ab80f8fb
(feat) More number triangle examples
1 år sedan
Rob Hallam
ae5b69fdc5
(feat) Lab 6 Exercise 7 - double division
Implements an object type - DoubleDivisionResult class to return quotient and remainder
1 år sedan
Rob Hallam
f3fc7c3984
(feat) wrap number triangles in newlines
Also add some docstrings and questions
1 år sedan
Rob Hallam
4b01248b29
(refactor) Move constructor to top of class
1 år sedan
Rob Hallam
fd1fd718f2
Implement Lab 6 Exercise 6 (number triangle)
I spotted a neat way of doing this before I had to head off so couldn't resist
1 år sedan
Rob Hallam
4f8ba4d428
Implement Lab6 up to and including Exercise 4
Exercise 5 requries stdin so we will come abck to that once I figure out how
best to do that.
Primes generation could be more efficient.
1 år sedan
Rob Hallam
1c57e4d8a7
Finish up to end of Lab 4
Skips labs 1-3, did them in eclipse which failed to save to OneDrive (!)
Implements Lab and Section classes for more easily and consistently running
particular labs.
1 år sedan