I want to be able to enter the calories, saturated fat and fibre and it work out how many weight watchers points this is.
I know the formula but to enter this in my phone in the super markets is a bit long winded for each item that I check:-
Points Formula:-
p = (c/50) + (f/12) - (min{r,4}/5)
p=points
c=calories
f=fat grams
r=dietary fibre grams
If r is less then 4 then divide by that value, otherwise divide by 4
Would this kind of thing be easy to develop?
How would I start?
What software would I require to create the program?
Or, if anyone is bored and would like to quickly create one then please let me know.
Thanks a lot.
Mark
















