Hello,
Do anyone know how to continue the loop to get an average of entered numbers:
//Using loop to enter the numbers
for (int i = 1; i <= 10; i++)
{
//Entering ten numbers
Console.Write("Enter the number:");
int Number = int.Parse(Console.ReadLine());
/*If user write number 0 in console before he conclude the 10th number,
program will calculate just average of entered numbers*/
if (Stevilo == 0)
break;
}
.
.
.
Thanks for any help
Regards,
bisiii