This program lets the user input three hidden numbers and the program can calculate the maximum number among the three numbers. To type the password in a hidden mode, you have to set the PasswordChar property to alphanumeric symbols such as * .
You can create a function called calMax that consists of three arguments x,y, z .You also need to write a procedure to call this function. This procedure should employs the If Then ElseIf statements and the conditional operators to determine the maximum number. The function Str is used to convert a numeric to string.
|
The Interface
|
|
|
Copyright ® 2008 Dr.Liew Voon Kiong . All rights reserved |Contact:admin@vbtutor.net