Consider the following code:
- value of
housesvariable is 24 - value of
underContractvariable is 19
private static void architecht(int houses, int underContract) {
System.out.printf("\nOccupancy Rate: %,.2d ", houses/underContract);
Exception is given: java.util.IllegalFormatPrecisionException