Question: Assignment 3 expects you to write a Java program that will make use of the one or more of the topics covered in Chapter 3.
Assignment 3 expects you to write a Java program that will make use of the one or more of the topics covered in Chapter 3. These are principally branching, Boolean expressions, loops, and random number generation. Each programming project choice requires output to the screen.
- Your source code should compile.
- You should have a single Java class that contains a main method.
- Your program must meets specifications of the problem. (Dont solve a different problem than what was asked.)
- Your program should follow appropriate Java programming style so that it is humanly readable.
- Names (Identifiers) adhere to Java programming conventions.
- Variables and constants have meaningful names and the appropriate data types.
- The program must use interactive console input to assign the values to the variables for those programming project choices that specify input.
- Logic will be more complex than the programs you have done in previous weeks. Be sure that you test each branch to ensure that you program produces correct results for each case.
- All computations made by the program must be correct.
- Program test runs must have properly formatted output. Multiple test runs may be required for some programming project choices.
This is the game of craps, determining the probability of winning making only pass line bets. No user input required for this choice.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
