Summer 2016 ISM 3230 - Homework 6
Summer 2016 ISM 3230 - Homework 6
This assignment MUST be created individually. You must turn in your OWN source code and
Java bytecode executable file. You MAY NOT share files!
Instructions
Compile and execute your program to ensure that it works correctly.
Be sure to run your final program using the sample data included in the Sample Output file
to ensure your program works properly.
Make sure your output labels match those in the Sample Output file exactly.
Notes
You MUST store any calculations in variables (i.e. do not calculate the number of votes or
percentage of votes directly in your System.out.println statements)
You do NOT need to worry about formatting the decimal places on values you calculate
You may perform the tasks in any order as long as your output follows the order of the
output in the example scenarios contained in the Sample Output file
You must include the one user-defined method specified above. You may include additional
methods if you want, but you MUST include at least this method in addition to main.
Do NOT use global variables unless you have a REALLY good reason for doing so.
Extra credit (10 points)
Determine the winner of the election, and print the winner to the screen. Please refer to the Sample
Output BONUS file for formatting details. You do not need special syntax to do this you will
have to think logically about how to solve this problem.
To receive full credit:
Submit the following files in a single zip file to Blackboard
o File with your Java source code (.java file)
o File with your Java bytecode executable file (.class file)
o Refer to the instructions for creating the zip file on Blackboard if you do not
create the file with the correct folders and structure, you will lose points
Course Documents NetBeans Information
You must follow the appropriate Coding Standards listed in the Coding Standards document
under Supplemental Materials on Blackboard.
o 40% of your grade on the source code will be based on how well you follow these
standards and how well you comment your source code
Submit your zip file to Blackboard using the Assignment submission feature by 11:59pm
7/10/2016. Instructions for submission are available on Blackboard where you downloaded
this file (Assignments --> Homework 6).