Thatís the thing about people who think they hate computers. What they really hate is lousy programmers. Larry Niven

Insert interval

Language Java | Level Intermediate | Category Data structure | September 9, 2015 10:21 am


Data structure Description

Write a program to display interval between lower range and higher range elements.


Output

   					 

Array of years: [1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999]
Get range from 1988 to 1994: 1988 1989 1990 1991 1992 1993 1994

				    

Comments


No comments available!

Please login to add comments.