0
Fizzbuzz
Write a method Met that takes as parameter 1 String. The entire string is in lowercase. If the string starts with f print Fizz. If the string ends with b return Buzz. If both the f and b conditions are true, return FizzBuzz. In all other cases, print the string unchanged. Only write the method - assume that the Class & main method have been defined. Use the System.out.println() statement for printing. Example Input: fuel Output: Fizz Example Input: lob Output: Buzz Example Input: flab Output: FizzBuzz Example Input: goodness Output: Goodness Help me out
2 ответов
+ 6
thank you Ina
0
Discover which vegetables you should steer clear of when juicing to ensure optimal health benefits and avoid potential adverse effects. Learn the reasons behind these exclusions and how to make the most nutritious juice blends. https://juicerhunter.com/what-vegetables-should-not-be-juiced/