Unit 1-06
Learning Outcome
At the end of this lesson, you will be able to:
- create an application that uses procedure
Silent Watching
- watch this video
- then this video
Review
- review the Microwave solution
Lesson
- go over "Procedures", Chapter 3
- Computer Based Problem Solving
Activity
- read the following problem:
- Create a program that has a procedure called public static void RollDie(int maxValue)
- It will randomly generate a value between 1 and maxValue and then place the value in the console.
- (I know not really useful!)
- just do the design for the procedure, not the rest of the program that will call the procedure
Daily Assignment
- post the solution and then the final program on your website
top-down design- flow-chart
pseudo-code- at least three (3) test cases calculated out using some other method then your program (ensure you show how you calculated each one of them out!)
- actual code
- three screen shots of program working (with actual values from your test cases above)
- zipped up solution file
- once your first 2 steps are done, code the next 3
- post all items to your website
Extra
- do the above have an optional parameter for a minimum value