+ 1
label1 + label2 output to label3
Hi, is label1, label2, label3, in the first two recorded numbers 10 and 11, do label3 need to print their sum?
3 Answers
+ 3
Try this:
int label1num;
int label2num
int.TryParse(label1.text, out label1num);
int.TryParse(label2.text, out label2num);
label3.text = (label1num+label2num).ToString();
0
The question is how to output sum of two numbers into label3 or what?