{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab24e - 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 a square. Sample Data : 6 HELLO CAT A DOGHOUSE ONE IT Sample Output : HELLO E L L L L E OLLEH CAT A A TAC A DOGHOUSE O S G U H O O H U G S O ESUOHGOD ONE N N ENO IT TI © 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 24E – FANCY WORD 2 Lab Value - 100 # of data sets in the file - 6 Files Needed :: FancyWordTwo.java Lab24e.java Lab24e.dat...
View Full Document

{[ snackBarMessage ]}