Given an int variable datum that has already been declared, write a statement that reads an integer value from standard input into this variable.

Given an int variable datum that has already been declared, write a statement that reads an integer value from standard input into this variable.

LANGUAGE: Visual Basic

CHALLENGE:

Given an int variable datum that has already been declared, write a statement that reads an integer value from standard input into this variable.

SOLUTION:

datum = CInt(textBox.Text) 


Add comment