COS 126 Conditionals and Loops |
Programming Assignment Due: 11:59pm |
The goal of this assignment is to write five short Java programs so that you get used to writing code and debugging it. Do five of the following seven exercises. All questions have equal weight.
SIGN | FROM | TO |
---|---|---|
Capricon | December 22 | January 19 |
Aquarius | January 20 | February 17 |
Pisces | February 18 | March 19 |
Aries | March 20 | April 19 |
Taurus | April 20 | May 20 |
Gemini | May 21 | June 20 |
Cancer | June 21 | July 22 |
Leo | July 23 | August 22 |
Virgo | August 23 | September 22 |
Libra | September 23 | October 22 |
Scorpio | October 23 | November 21 |
Sagittarius | November 22 | December 21 |
sumx = x1 + x2 + ... + xn sumx2 = (x1)2 + (x2)2 + ... + (xn)2 avg = sumx / n stddev = sqrt ( (sumx2) / n - avg * avg )
* * * * * * * * * * * * * * * *