0
how to get desired number of grades rather than 10. i want to get (enter grade#)term for the number that user inputs.please give
while (number<=10) //grade user input for valid grades and number of grades. { Console.Write("Enter grade #{0}:", number); int.TryParse(Console.ReadLine(), out grade); number++; }
3 odpowiedzi
0
int MaxGrade= Convert.ToUInt64(Console.Read()) ;
while(number<=MaxGrade)
{
....
}
0
number is the counting of grades
0
Am not understood..
Is that not working?