Get the day of the week & month in word from constructor into main with input
posted 6 years ago
i need to modify this code to fit the requirement.....any help and sample would be appreciated..
For this program, i need to: take in day, month,year of a date as int argument, return the day of the week for the date entered in App()
In Main: call the App() to get the day of the week to display when user enter the date in dd/mm/yyyy
StringTokenizer is required for this program.
- How can the arguments pass back to main by returning of month & day of the week?
- Program cant take in int and return as string - Date cant display day of the week