Question: Write in java. No print or println. Only use return. This is a codingbat problem. There are cultures that believe some numbers are unlucky. We
Write in java. No print or println. Only use return. This is a codingbat problem.
There are cultures that believe some numbers are unlucky. We want to remove all of these unlucky characters from our Strings so the user can use the Strings without the unlucky attributes. For our case, we believe that the number 17 is unlucky so we want to remove these from our Strings.
unlucky17("Th17is is a S1717tring") "This is a String" unlucky17("17Another 17String17") "Another String" unlucky17("F17i17n17a17l17l17y") "Finally"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
