Question: Using Visual Studio create the procNotas console application in Visual C #. You'll use the given code on the Program.cs Correct the errors if necessary.
Using Visual Studio create the procNotas console application in Visual C #. You'll use the given code on the Program.cs Correct the errors if necessary.


1 2 3 using System; using System.Collections.Generic; using System.Text; using System.IO; namespace procNotas 5 6 O references class Program 7 8 9 O references static void Main(string[] args) { int i; // Counter in the loop double total = new double(); // Student average double[] table - new double[10]; // The grade of each student's midterm exam will be saved in this arrangement double weight = new double(); // It will be used to calculate the weight of each exam or assignment double exFinal = new double(); // The final exam grade will be saved double asig = new double(); // The note of the assignments will be saved string grade = "", name = "", numEst = ""; // It will show the grade that the student obtained according to his average // Ask the user to enter the student's name Console.Write("Enter the student's name: "); name = Console.ReadLine(); // Ask the user to enter the student number Console.Write("Student number: "); numEst Console.ReadLine(); // This cycle will be used so that the user can enter the 3 marks of the student's partial exams for (i = 1; i = 0 & total (65) grade = "F"; // If the grade is greater than or equal to and less than 65, the student had "F" in the course else if (total >= >= 65 & total = 70 & total = grade "B"; // If the grade is greater than or equal to 80 and less than 90, the student had "B" in the course else if (total >= 90 & total = 90 & total = 0 & total (65) grade = "F"; // If the grade is greater than or equal to and less than 65, the student had "F" in the course else if (total >= >= 65 & total = 70 & total = grade "B"; // If the grade is greater than or equal to 80 and less than 90, the student had "B" in the course else if (total >= 90 & total = 90 & total
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
