POS 409 POS/409 Week 1 Assignment

POS 409 POS/409 Week 1 Assignment

Author: Alon Padson


Assignment: Design, implement, test, and debug a C# program to simulate the rolling of two dice 100 times.  Whenever the two dice display the same number, the program should show the roll sequence number (e.g. the 10th roll) and the number on the dice (for example. "Roll 1 - Both dice throw 6"). Remember that valid values for dice are 1, 2, 3, 4, 5, and 6. This program may be a console application or a Windows Forms application. No matter whether you choose to develop a Windows Forms application or a console application, be sure the interface is professional looking and intuitive to use for the novice end user.
Include identifying information in the form of block comments at the top of each class in the project (programmer name, date, program description). Include adequate comments throughout the program, utilize meaningful names for controls, variables, fields, and forms. Include white space for readability purposes in the code. Refer to the Individual Assignment grading form to view grading criteria.

See More
Introduction to Psychology

Analyze this:
Our Intro to Psych Course is only $329.

Sophia college courses cost up to 80% less than traditional courses*. Start a free trial now.