I've tried these equations but my solutions always come out wrong. I feel like I'm just making simple mistakes, such as using void instead of double, but I just don't know.
#1: Write a public method called average, which is passed three ints, and returns their average as a double.
Example: (5, 9, 6) --> 6.66666666666666
#2: Write a public method called doubleWord, which is passed a String as a parameter and which returns the input parameter concatenated with itself-- a String value.
Example: "boo" --> "booboo"
#3: In the box below, enter the code that will print the pattern "01" 100 times. Use a for loop to do this.