So, the mammy and the sister has gone on the weight watchers plan, and brough me and the daddy along with them. so, i decided to see if i could find a forumula for getting the points in something. so here is some VB.NET code that does the job:

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        'weight watchers code

        'read for more info

        Dim p, c, f, r As Double

        c = InputBox("enter Calories")

        f = InputBox("Enter grams of Fat")

        r = InputBox("Enter Dietary fiber grams, or 0 if unknown")

        p = (c / 50) + (f / 12) – (minimum(r, 4) / 5)


    End Sub

    Public Function minimum(ByVal a As Integer, ByVal b As Integer) As Integer

        If a > b Then

            Return b


            If a < b Then Return a

        End If

    End Function


The website i got the info from, Healthy Weight Forum has the info i needed: the formula: P=(c/50)+(f/12)-(min(r,4)/5) where p = points, c=calories, f=fat grams and r=dietary fiber grams. the min(r/4) is the minimum of 4 or the fiber grams. Coding of a .NET app should be easer for you now! :) working on a PPC and Smartphone client just becasue i can!