for example i input
in my text1.text value of 3
and text2.text value of 2
3 ^ 1 + 3 ^ 2 - 3 ^ 0 + 3 ^ 1 + 3 ^ 2 + 3 ^ 3
the answer should -28
for example i input
in my text1.text value of 3
and text2.text value of 2
3 ^ 1 + 3 ^ 2 - 3 ^ 0 + 3 ^ 1 + 3 ^ 2 + 3 ^ 3
the answer should -28
Use parenthesis
Text3.Text = (3 ^ 1 + 3 ^ 2) - (3 ^ 0 + 3 ^ 1 + 3 ^ 2 + 3 ^ 3)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.