не знам как да довърша и реша задачата
using System;
namespace Fruit_Shop
{
internal class Program
{
static void Main(string[] args)
{
string fruit = Console .ReadLine ();
string day = Console .ReadLine ();
double quantuty = double.Parse (Console .ReadLine ());
double priceBanana = 0;
double priceApple = 0;
double priceOrange= 0;
double priceGrapefruit = 0;
double priceKiwi = 0;
double pricePineapple = 0;
double priceGrapes = 0;
if (fruit == "banana" || fruit == "apple" || fruit == "orange" || fruit == "grapefruit"||
fruit == "kiwi"|| fruit == "pineapple"|| fruit == "grapes")
{
if (day== "Monday" || day == "Tuesday"|| day == "Wednesday"|| day == "Thursday"|| day == "Friday")
{
priceBanana = 2.50;
priceApple =1.20;
priceOrange = 0.85;
priceGrapefruit = 1.45;
priceKiwi =2.70 ;
pricePineapple = 5.50;
priceGrapes =3.85 ;
}
else if (day=="Saturday" || day=="Sunday")
{
priceBanana = 2.70;
priceApple = 1.25;
priceOrange = 0.90;
priceGrapefruit =1.60 ;
priceKiwi =3.00;
pricePineapple = 5.60;
priceGrapes = 4.20;
}
else
{
Console.WriteLine("error");
}
}
else
{
Console.WriteLine("error");
}
}
}
}