- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGaddisChallenges.java
More file actions
Latest commit
38 lines (27 loc) · 836 Bytes
/
Copy pathGaddisChallenges.java
File metadata and controls
38 lines (27 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
importjava.util.Scanner;
/*
future additions:
- threading
- GUI
*/
publicclassGaddisChallenges {
privateScannerscan = newScanner(System.in);
publicstaticvoidmain(String[] args) {
print("Starting Chapter 3 Challenges from the Gaddis book!");
print("Question 1: Roman Numeral Converter");
RomanNumeralConverterrmc = newRomanNumeralConverter();
rmc.start();
print("Question 2: Magic Dates");
MagicDatesmc = newMagicDates();
mc.start();
print("Question 3: Body Mass Index");
BMIbmi = newbmiBMI();
bmi.start();
print("Question 4: Test Scores and Grade");
LetterGradeslg = newLetterGrades();
lg.start();
}
privatevoidprint(Stringtext) {
System.out.println(text);
}
}