anonymous
  • anonymous
How do you restrict input to only certain numbers and assign a number to the certain numbers in VB 2012? Example: 0=0, 1=20, 2=40, 3=60, 4=80, 5=100
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
kva1992
  • kva1992
I would make an if statement and within the if statement make a select statement something like this If input.text = 0 or input.text =1 then select input.text case 1 i = 0 case 2 i = 20 end select end if something along those lines should do

Looking for something else?

Not the answer you are looking for? Search for more explanations.