완성된 코드인데



        for (i = 1; i <= numberOfDaysInMonth; i++) {
          System.out.printf("M", i);


이부분에서 아래와같은 에러가 나오는데 ..이게 뭐때문에 이런건지좀 알려주세요 형들

    

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    The method printf(String, Object[]) in the type PrintStream is not applicable for the arguments (String, int)

    at PrintCalander.printMonthBody(PrintCalander.java:72)
    at PrintCalander.printMonth(PrintCalander.java:26)
    at PrintCalander.main(PrintCalander.java:17)