{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab24b - algorithm help for(int i=0 i<word.length i...

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

View Full Document Right Arrow Icon
Lab Goal : This lab was designed to teach you how to use a matrix, an array of arrays. Lab Description : Read in one word at a time from the file and output the word as an hourglass. Sample Data : 6 HELLO CAT A DOGHOUSE ONE IT Sample Output : HELLO E L L E L HELLO CAT A CAT A DOGHOUSE O S G U HO HO G U O S DOGHOUSE ONE N ONE IT IT © A+ Computer Science – Matrices - www.apluscompsci.com
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: algorithm help for(int i=0; i<word.length(); i++) { mymat[0][i] = word.charAt(i); //3 more statements //like the one I gave you } Computer Science I Lab 24B – FANCY WORD Lab Value - 100 # of data sets in the file - 6 Files Needed :: FancyWord.java Lab24b.java Lab24b.dat...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online