How i can write a program that asks the user to enter the day number of the year (assuming there are 365 days in the year) and the program returns the date by specifying the month and day. For instance,
Enter a number from 1 to 365: 100
Date: April 10
public static void main(String[] args) { System.out.println("Ievadiet skaitli no 1 lidz 365:");