Fizzy
by in CodeSOD on 2022-06-30Suri was about to add some new functionality to an existing application, and since it was a relatively big change, she spent a few hours tidying up the codebase. Sitting in there, in the code actually running in production, she found this:
/**
* The VehicleConfigurationModel class.
*/
public class VehicleConfigurationModel {
public static void main(String[] args) {
for (int counter = 0; counter <= 20; counter++) {
if(counter % 3 == 0){
System.out.print("Fizz");
}
if (counter % 5 == 0){
System.out.print("Buzz");
} else {
System.out.print(counter);
}
System.out.println("");
}
}
}

It ain't easy being number one, especially for R.B.'s company. With €730 million in annual revenues, they're the leader in a relatively small (€1.6 billion) niche market and are constantly struggling to maintain their dominance amongst a handful of vicious competitors. Recently, an executive at the company came up with an astonishingly brilliant plan that would ensure that they stayed on top for many years to come. This plan was named The Convergence.