Post Title.
8 August 2015 · 0 words

FTGE

An allergy test produces a single numeric score which contains the information about all the allergies the person has (that they were tested for). The list of items (and their value) that were tested are:

So if Tom is allergic to peanuts and chocolate, he gets a score of 34.

Write a program that, given a person’s score can tell them:

  1. whether or not they’re allergic to a given item
  2. the full list of allergies

FTGE

-Alisa Blakeney


back · projects · writing · info · main