HW03 Solution1

HW03 Solution1 - for (int i = 0 i < 5 i++) { card =...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 // Solution to Homework #3, Problem #1 public class HW03_1 { public static void main(String args[]) { int card
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for (int i = 0 i < 5 i++) { card = (int) (Math.random() * 13) + 1 System.out.print(card + " ") } } }...
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