I am writing a windows app to calculate the grades of the students and to display the final grade
how do I validate the input of the textboxes in C#?
I need the exam score to range from 1-100 and it must be numeric
secondly, how come the avgscore of the four exams is an integer? I declared it as a double
I need it to display 85.25 or whatever the actual average is and not just 85.
finally, how can i make it so that the program saves all the input data into a text file?
something along the line of using StreamWriter and String Path
thanks in advance
how do I validate the input of the textboxes in C#?
I need the exam score to range from 1-100 and it must be numeric
secondly, how come the avgscore of the four exams is an integer? I declared it as a double
I need it to display 85.25 or whatever the actual average is and not just 85.
finally, how can i make it so that the program saves all the input data into a text file?
something along the line of using StreamWriter and String Path
thanks in advance