0 Comments

The following visual basic program.

Build a program that:

  • Prompts the user to enter a number within an Input Box
  • Reads in the value entered by the user
  • Ensures that only positive values or the control string “**” is entered. If neither of these are entered the user will be prompted that an input error has occurred.
  • Each value entered is stored into a variable called varTotal.
  • The program will continue to execute provided that vatTotal is less than 50 or the string “**” is entered by the user to exit the program.
  • When varTotal is greater than or equal to 50 or the control string “**” is entered, the program will display the following in two labels.Value stored in the Total variable
  • The number of times the user entered data into the Input Box
  • Ensure that proper naming convention is used for all objects (forms, buttons, etc.)

Order Solution Now

Categories: