Taking (or otherwise assimilating) vitamin C is sufficient to prevent scurvy if it can never be the case that X takes vitamin C and X gets scurvy (subject to a specified time period).
Taking (or otherwise assimilating) vitamin C is necessary to prevent scurvy if it can never be the case that X gets scurvy despite taking vitamin C (again subject to a specified time period).
In the terms in which your question is set, the answer seems then to be that taking vitamin C is both necessary and sufficient to prevent scurvy.
However, there is a sufficient condition within the sufficient condition : only if X takes a sufficient amount of vitamin C will scurvy be prevented. Also the necessity condition works only if a sufficient amount of vitamin C is applied in the prevention. An insufficient quantity of vitamin C is not necessary to the prevention of scurvy since it won't prevent scurvy at all.
Nice question.