hello!
well, i want to read 10 grades and put them at an array...
i want the values to be >=0 and <=10
how can i do that? what changes i have to do at my method?
using System;
class Student
{
blah
blah
public void SetGrades()
{
for (int i = 0; i <= 9; i++)
Grades[i] = Double.Parse(Console.ReadLine());
}
static void Main()
{
blah blah
}