wood burning stoves*
The moose likes Beginning Java and the fly likes Printing Arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Printing Arrays" Watch "Printing Arrays" New topic
Author

Printing Arrays

john don
Greenhorn

Joined: May 01, 2008
Posts: 2
I've been looking online seeing if i could find out myself.. no luck though . I need to figure out how i can print each element. I started it but not sure if it looks right. And really just unsure how i could print it out in that kind of format below. Any help is appreciated. Thanks!

From 1776 to 1875 the 13ths fall on:
Sun Mon Tues Wed Thu Fri Sat
171 171 171 171 170 173 173

code:



Edit by mw: Added Code Tags.
[ May 03, 2008: Message edited by: marc weber ]
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by john don:
...I started it but not sure if it looks right...

Is this the part you've started?

How is the output different than what you would like? What have you tried to change it?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
Consider Paul's rocket mass heater.
 
subject: Printing Arrays
 
Similar Threads
Removing from an array
Using Calendar.getInstance();
Remove dates from an array list using iterator
Need Help Stuck :(
Finding number of days in a month confusion