import java.util.*; public class ElectionPseudoCode { public static final int NUM_VOTERS = 807; public static void main(String[] args) { Scanner console = new Scanner(System.in); intro(); // pizza party: // ask for number of precints, then // read pizza party candidate's votes in each precint and // compute total votes recieved // pajama party: // do it again for pajama party candidate // calculate each candidate's percentage of votes cast // output each candidate's vote share, who won, and percentage turnout } // Prints out an introduction to the program. public static void intro() { System.out.println("This program reads in data for two candidates"); System.out.println("and computes the result of an election"); System.out.println(); } // Returns the given number rounded to two decimal places. // // double num - the number to round public static double round2(double num) { return Math.round(num * 100.0) / 100.0; } }