How can I call a function to print a value while iterating over a range using IntStream?
public static void fizzBuzz(int n) { // The below does not work