West Ranch High School

Skip to main content
Main Menu Toggle
Classes/Assignments

AP Comp Sci A 2017-2018-Period 1

Connect To: Google ClassroomGoogle Classroom
Instructor
Dan Doggett
Department
Practical Arts

Upcoming Assignments See all

Due:

Chapter 4 Programming Projects

Programming Project 4.3: Write an application that rolls a die and displays the result. Let the user pick the number of sides on the die. Use the Die class from the common folder to represent the die in your program.

Programming Project 4.4: Design and implement a class called PairOfDice, with two six sided Die objects. Create a driver class called BoxCars with a main method that rolls a PairOfDice 1000 times, counting the number of box cars (two sixes) that occur.