Posts by JIN • 33 points
1 post
-
2
votes3
answers231
viewsQ: How to crop a String and convert to int in Java?
How can I cut out the String monthAndYear, convert and assign variables respective? At the time of conversion shows an error. System.out.print("Enter month and year to calculate income (MM/YYYY):…