23 321123 432l234 432 234 5432l2345 5432i 12345 1 in

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 432]-]-234 5432L2345 5432I 12345 1 in the middle while odd numbers the sequence has a single it has two 1's in the middl-e. Your method should throw an IllegalArgumentException if passed a value l-ess met.hod would have to cal-l print.In than 1. Someone using this to complete the Iine of output....
View Full Document

Ask a homework question - tutors are online