Hey Guys,

I have started using Visual basic 6.0 but i'm running into a few troubles.

How can i write this psuedo code into visual basic:

```
BEGIN even and odd numbers
PUT "Enter a number : "
GET num
even = 0
odd = 0
WHILE num <> -1
IF (num MOD 2) = 0 THEN
even = even +1
ELSE
odd = odd + 1
END IF
PUT "Enter a number : "
GET num
WEND
PUT "The number of even numbers = ", even
PUT "The number of odd numbers = ", odd
END even and odd numbers
```

Any help would be greatly apprecieated.

Thanks,

Jem.