herbie
How can I fix this error on this lineOperator '<' cannot be applied to operands of type 'string' and 'int'while(sub >= 0 && Miles < distanceMiles[sub])--sub
Full code below:
public
{
Console.WriteLine("Enter miles ");
Miles = Console.ReadLine();
}
Miles = GetMiles();
customerMiles = price[sub];