Witam. Mam program podający kwotę stypendium w zależności od średniej, wyskakuje błąd:
"No overload for method 'ReadLine' takes '1' arguments"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
float x;
Console.WriteLine("Podaj średnią ocen:");
x = float.Parse(Console .ReadLine(x));
if (x > 2.00 & x <= 4.00)
{
Console.WriteLine("Kwota stypendium 0,00z ł");
}
if(x > 4.00 & x <=4.80)
{
Console.WriteLine("Kwota stypendium 300,00z ł");
}
if(x > 4.80 & x <5.00)
{
Console.WriteLine("Kwota stypendium 300,00z ł");
}
else
{
Console.WriteLine("Z ła wartość ");
}
Console.ReadKey();
}
}
}