|
-
REMEMBER: Your variables and functions are to be saved in a
particular format. If they are not, you will not get credit for your
assignment. Variables should be named with the first initial of
your first name, first initial of your last name, the letter v, an
underscore and the name of your variable. Ex: ncv_variable name
Functions should be named in the same way. Ex: ncf_function name
-
Take the program you created in assignment 2 and add the following
two upgrades:
-
Create 3 rankings for the income that you collected in assignment 2.
Create a different output for each of 3 levels of income called:
Success, Working on it, Below the Bar. (Note: you can set the criteria
for success to whatever you would like, but if you cannot think of
anything use: Over $200,000 Success; Over $50,000 Working on it; and
anything below $50,000 as Below the Bar.)
-
Compare birthplace to current hometown and if they
are the same you will output a line saying "Never Left home I see",
otherwise you will output a line that says "I see you prefer to
live somewhere other than where you were born".
-
Print all of your variables
-
Save your program to a file and take a screenshot of the output after
you have run your program. You will have 2 files that you will send as
attachments to your email.
(DO NOT COPY AND PASTE YOUR CODE, PROGRAM(S) OR SCREENSHOTS INTO
THE BODY OF THE EMAIL. THIS WILL RESULT IN A GRADE OF ZERO !)
Make sure to include your name and the assignment number you are
emailing.
|