The QB64 statement that assigns value 10 to variable name2 is:
name2 = 10
A QB64 statement is a statement that is written using the QBasic programming language
To assign a value to a variable in QB64, we make use of the following syntax:
variable = value
Given that:
Hence, the QB64 statement that assigns value 10 to variable name2 is: name2 = 10
Read more about program statements at:
https://brainly.com/question/15683939