I am trying to make a simple calculator. I am getting blue line under my numbers with the error “Method Name Expected”
I was hopeing you guys could help me out with my simple question from a noob.
finalCmb = .25(1.3(txtAtt.Text+txtStr.Text)+txtDef.Text+txtHp.Text+(.5(txtPray.Text))+(.5(txtSum.Text)));
You have to manually place multiplication operators. There is no bracket multiplication.
25(1.3(te...should be25 * (1.3 * (te...Converting strings to numbers would be a good idea.
txtStr.TexttoDouble.Parse(txtStr.Text)