HW04 Solution2

HW04 Solution2 -...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 import java.util.Scanner public class HW4_2 { public static void main(String args[]) { for (int i = 0 i < 10 i++) { if (Math.random() < 0.5)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: System.out.print(RandomCharacter.getRandomLowerCaseLetter()) else System.out.print(RandomCharacter.getRandomUpperCaseLetter()) } } }...
View Full Document

This note was uploaded on 04/10/2008 for the course ENGR 131 taught by Professor Xiaowei during the Spring '07 term at Case Western.

Ask a homework question - tutors are online