Write an expression that returns the day


1. Assume we represent dates by strings of the form "dd/mm/yyyy", where "dd" is the number of the day, "mm" is the number of the month, and "yyyy" is the year. For example, May 3, 2001 is represented by the string "03/05/2001" and October 29, 2003 is represented by the string "29/10/2003".

Assume date is a reference to a String object representing a date.

(a) Write an expression that returns the day.

(b) Write an expression that returns the month.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write an expression that returns the day
Reference No:- TGS094045

Expected delivery within 24 Hours