-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSD_SkillSets.java
71 lines (49 loc) · 988 Bytes
/
SD_SkillSets.java
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import java.util.*;
import java.io.*;
public class SD_SkillSets {
HashMap<Integer, String> sk = new HashMap<Integer, String>();
public HashMap<Integer, String> skillsets(int choice) {
if (choice == 1) {
sk.put(0,"C");
sk.put(1, "C++");
sk.put(2, "Objective C");
sk.put(3, "Haskell");
sk.put(4, "Lisp");
sk.put(5, "Python");
sk.put(6, "Lua");
}
else if (choice == 2) {
sk.put(0, "Java");
sk.put(1, "Scala");
sk.put(2, "Ruby");
sk.put(3, "JavaScript");
sk.put(4, "Perl");
sk.put(5, "Clojure");
sk.put(6, "Android");
}
else if (choice == 3) {
sk.put(0, "Python");
sk.put(1, "JavaScript");
sk.put(2, "XML");
sk.put(3, "Lua");
sk.put(4, "C/C++");
sk.put(5, "Ruby");
sk.put(6, "R");
}
return sk;
}
public int n_skills(int choice) {
if (choice == 1) {
return 7;
}
else if (choice == 2) {
return 7;
}
else if (choice == 3) {
return 7;
}
else {
return 1;
}
}
}