Question: MIS 4310-01 Programming Assignment #5 (30 points) DUE: Monday, November 13h 2017 by 11:59 PM (end of the day) Upload to Blackboard a file called
MIS 4310-01 Programming Assignment #5 (30 points) DUE: Monday, November 13h 2017 by 11:59 PM (end of the day) Upload to Blackboard a file called "PAS.java" with your name. Be sure to include a block comment with your name similar to the first assignment. Using the Flowchart below, create a Java application that counts the number of "tricks" and treats" you get while going Trick-or-Treating at 10 houses. You will use a for loop to do this. See the output below the flow chart as a guide. Your output should match. Start Legend t counter for houses rando: value of 1 or 2 or breat tricks: # of ticks received treats. of treats receved Yes i107 Trick or treat, house i r Ouput "You got # treks and # trears. Happy Halloween rando a 1 or 2 (random) End rando = 1? tricks :tricks + 1 treats a treats+1 i=i+1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
