Instructions on using strings in C

// Convert string into integer. int year = Integer.parseInt(yearString); // Prompt the user to enter month. String monthString = JOptionPane.showInputDialog("Enter month in number between 1 and 12:"); // Convert string into integer. int month = Integer.parseInt(monthString); // Print calendar for the month of the year. printMonth(year, month);} ................
................