Skip to Content
0
Former Member
Oct 28, 2010 at 01:47 PM

Need help in Formulas

8 Views

Hi,

I written formula like this:

stringVar result;

numberVar pass;

numberVar fail;

if {@result} < 40 then

(result := "Fail";

fail := fail + 1)

else

(result:= "pass";

pass := pass + 1);

result;

Now i want, suppose if i have 'n' no.of peoples, then i have to get the no.of count for each pass and fail.

Eg: Pass 10

fail 5

Can anyone give solution?