vendredi 8 mai 2015

random number generator vbscript

Can anyone help me with making a VBScript with the following requirements?

  • The user needs to choose a number.
  • Generate a random number between 1-100.
  • If the user guess the right number it should say "Congrats".
  • If the user guess the wrong number it should say if the random number is higher or lower.
  • The random number must be generated by the "random" command.
  • The program needs to check for errors so the program doesn't crash when a wrong number is put in by the user.

Its kind of a hurry, need it within 1 hour and 50 minutes. THANKS A LOT! Would be the best help thanks!




Aucun commentaire:

Enregistrer un commentaire