AM FEELILNG LIKE WOW!
Just finished watching the TV and a commercial was ringing in my head: Move On Up! I really didn't understand if they were to move me up or if my savings account was to move them up, so I wrote a code for steps and ladders which if you take the initiative, you're surely going on up.
/*
*we're building a staircase based on java's native handling
*of multidimensional arrays, as arrays of arrays
*
*/
package overall;
public class TFaces {
public static void main(String[] args){
char c = '\u0040';
char[][] atArray;
//declare the 2-dim array first with only the rows
//columns for each row are unallocated
atArray = new char[5][];
//now allocate columns for rows
for(int i=0; i<atArray.length; i++){
//each row has one step greater than
//its preceding one
atArray[i]= new char[i+2];
}
//initialise and print out the array
for(int i=0; i<atArray.length; i++){
for(int j=0; j<atArray[i].length; j++){
atArray[i][j] = c;
System.out.print(atArray[i][j]);
}
System.out.println();
}
}
}
If you can, pick as many images as you can find and put them faces on the staircases. You'll love the wow! effect. Picasa just popped out on my desktop. With picasa, you can make your computer images all searchable. Searchable. You don't need to think: where was that picture of I and Micheal taken in 1996 at Mimmy's matriculation? Nope. Picasa has it; straight in ya face!

No comments:
Post a Comment