Conditionals: NRandomNums_YI.java

Screen Shot 2014-09-23 at 10.00.31 AM

Classwork:
Show and tell

Homework:
Read this section in the book site.
Exercises 12 and 13
Write a program, YI_NRandomNums.java that takes an integer N as input and uses Math.random() to print N uniform random numbers between 0 and 1, and then prints their average value.
Note: Use the “while” loop.