History Bookmarks Window Help Thank you for downloading rtelu Question 2: Modify
ID: 3787332 • Letter: H
Question
History Bookmarks Window Help Thank you for downloading rtelu Question 2: Modify the program from lab 1 so that it prompts the user for a 5-digit positive integer with any number of digits up to 9. The program should then display their integer as a big banner. PARTA: Modify the below test class starDisplayTest so that it can prompt the user to enter a 5-digit positive integer, and pass the integer as a parameter to the method displaystar (int number) defined in the class star Display. (Note: Do not worry about invalid inputs) import java .Util. Scanner; public class StarDisplayTest public static void main (String args[ J) int a Star Display s new StarDisplay //prompt the user to enter a digit positive integer //and initialize the above variable a s display Star (a)Explanation / Answer
PARTA:
PARTB:
PARTC:
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.