Write a method called promptUserData that has no parameters…
Write a method called promptUserData that has no parameters and returns an int. Prompt the user for an int. This int is what is returned. Don’t include a main method or public class; you can also assume Scanner has been imported. Just the method described above. Include the Javadoc.
Read Details