Write Methods to Solve All of the Questions. Here Are Two Example Questions and Their Solutions. Notice that the First Method **prints** a Value, the Second Method **returns** a Value.
# 1.1 Hello...
Write a method that accepts a name as a parameter and prints out "Hello -name-"
## 1.1.1 Example
```
1: hello("Kim")
2: *** Output ***
3: Hello Kim
```
# 1.2 Average of Two Numbers
Write a method that accepts two numbers and returns the average of the two numbers.
## 1.2.1 Example
```
1: System.out.println(average(3,4));
2: *** Output ***
3: 3.5
```
# 1.3 Solutions
```java
public class NinetyNine {
NinetyNine() {
hello("Kim");
System.out.println(average(3,4));
}
void hello(String s) {
System.out.println("Hello " + s);
}
double average(double x, double y) {
return (x+y)/2;
}
public static void main(String [] args) {
new NinetyNine();
}
}
```