Question: Write the method jazzUp which takes a String argument and an integer argument. The method returns a String with exclamation points and one space on
Write the method jazzUp which takes a String argument and an integer argument. The method returns a String with exclamation points and one space on either side of the original String equal to the integer argument. If the integer is 0, the String is returned unchanges. The integer argument will never be negative.
ex
jazzUp("SCIENCE", 4) returns "!!!! SCIENCE !!!!"
jazzUp("YESSS", 2) returns "!! YESSS !!"
jazzUp("Nah",0) returns "Nah"
Step by Step Solution
There are 3 Steps involved in it
Sure heres the jazzUp method implemented in Java java public c... View full answer
Get step-by-step solutions from verified subject matter experts
