PRG 420 Week 2 Individual Analyzing a Program Containing if then and s


Ask a Question

PRG 420 Week 2 Individual Analyzing a Program Containing if then and switch

Sale price $10.00 Regular price $30.00

PRG 420 Week 2 Individual Analyzing a Program Containing if then and switch

Includes Working Java Build and Program File and Explanation of Code

Resource:  Week Two Analyze Assignment Zip File
The ability to read through Java™ code and predict the results, given
specific inputs, is an extremely useful skill.
For this assignment, you will be analyzing the Java™ code in the linked
zip file, and predicting the results given specific input.
Carefully read through the code line by line, then answer the following
questions in a Microsoft® Word document:
      1. What is the output of the program as it is written?
      2. What would the output of the program be if you assigned iAmHappy to false,

          num to 35, and numDayOfWeek to 5?
      3. What would the output of the program be if you assigned the iAmHappy to 5,

          num to 50, and numDayOfWeek to 8?
Submit your completed Word document using the Assignment Files tab.

PRG 420 Week 2 Individual Analyzing a Program Containing if then and switch

Questions & Answers

Have a Question?

Be the first to ask a question about this.

Ask a Question