CS 1401, Quiz 10, MW 12-1:20 version

Date: Monday, November 4, 2013
Name (please type legibly, ideally in block letters): ______________________________________________________________________

1. On November 5, El Paso voters will vote on constitutional amendments. Define a class Amendment that includes the text of the amendment and the number of people who voted for it. Do not forget to include a constructor method and get- and set-methods.

2. In the main program, create your own amendment (e.g., requiring that every student should get a free pizza every day) with 700,000 people voting for it, then add one late vote to the total. Trace your code step-by-step.

Comment: No need to write "public static void main(...)", just write down the appropriate statements from the main program.