Having troubles with Method Headers [Java Programming]! HELP!?
Had to send some assignments [Deadline already past]X_X
But I want to learn how to do this for my test! 8-}
Write the header for a method named days. The method should return an int and have three int parameter variables: years, months, and weeks.
Write a method named timesTen . The method should accept a double argument, and return a double value that is ten times the value of the argument.
Write a method named getName that prompts the user to enter his or her first name, and then returns the user’s input.
Thank You for your time:)>-
Re: Having troubles with Method Headers [Java Programming]! HELP!?