r/visualbasic • • Sep 01 '16

How can i make an average calculator

Hi guys i would like to ask question about how can i make the average calculator, i have putted this code but i always get an error: calculate the average = (txtExam1 + txtExam2 + txtExam3) / 3.0;

Photo : https://s9.postimg.org/u1857fz6n/Untitled4.png

Using VB2015

0 Upvotes

12 comments sorted by

View all comments

Show parent comments

1

u/rashid19961 Sep 01 '16

I have seen this video and tried to copy from it but didnt work https://www.youtube.com/watch?v=9eusoxyS_Fo

Is there any codes alternative a different code for the same purpose!

1

u/Tomehh Sep 01 '16

Have a google and read some documentation on Int32.TryParse (providing your exam scores are integers of course)