answersLogoWhite

0

dim a as string

dim b as string

dim c as string

a = val(txt1.text)

b = val(txt2.text)

c = val(txt3.text)

lbl1.caption = (-b + sqr((b ^ 2) - ((4) * (a * c))) / (2 * a)

lbl2.caption = (-b - sqr((b ^ 2) - ((4) * (a * c))) / (2 * a)

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: Codes for quadratic equation on vb net?
Write your answer...
Submit
Still have questions?
magnify glass
imp