Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can someone help my calculations are off C# void btnAverage_Click(object sender, EventArgs e) []=(grades[,]+grades[0,1]+grades[,2]+grades[,3]+grades[,4])/5;[1]=(grades[1,0]+grades[1,1]+grades[1,2]+grades[1,3]+grades[1,4])/5;[2]=(grades[2,0]+grades[2,1]+grades[2,2]+grades[2,3]+grades[2,4])/5;[3]=(grades[3,]+grades[3,1]+grades[3,2]+grades[3,3]+grades[3,4])/5;[4]=(grades[4,0]+grades[4,1]+grades[4,2]+grades[4,3]+grades[4,4])/5; Text = Convert. Tostring (grade[]); Text = Convert. ToString ( grade
Can someone help my calculations are off
void btnAverage_Click(object sender, EventArgs e) []=(grades[,]+grades[0,1]+grades[,2]+grades[,3]+grades[,4])/5;[1]=(grades[1,0]+grades[1,1]+grades[1,2]+grades[1,3]+grades[1,4])/5;[2]=(grades[2,0]+grades[2,1]+grades[2,2]+grades[2,3]+grades[2,4])/5;[3]=(grades[3,]+grades[3,1]+grades[3,2]+grades[3,3]+grades[3,4])/5;[4]=(grades[4,0]+grades[4,1]+grades[4,2]+grades[4,3]+grades[4,4])/5; Text = Convert. Tostring (grade[]); Text = Convert. ToString ( grade [1]); Text = Convert. Tostring (grade[2]; Text = Convext. Tostring (grade[3]); Text = Convert Tostring (grade[4]); 1.Text = Convert tostring (avg [0]); 2. Text = Convert tostuing (avg[1]); 3. Text = Convert. Tostring ( avg (2]); 1.Text = Conveet, Tostwing (avg [3]) 5. Text = Convert. Tostwing (avg[4]); No issues found the five student names, an array of five strings to hold each student's letter grades, and five arrays of four single precision numbers to hold each student's set of test scores. Equip the application with a set of buttons that allows the application to perform the following: - Display a form that allows the user to enter or change the student names and their test scores. - Calculate and display each student's average test score and a letter grade based on the average. Input validation: Do not accept test scores less than zero or greater than 100. 1. This is the main form. When a user clicks the Edit Student Data button, the bel 3. Ent Ch: Close the Edit Student Data form and click C#
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started