Yard Greening
Здравейте, моля за вашата помощ, не успявам да се справя със задача 09.Yard Greening от първото домашно в PB-C#. Благодаря предварително!
using System;
namespace YardGreening
{
    class Program
    {
        static int Main(double[] args)
        {
            double area = double.Parse(Console.ReadLine());
            double price = area * 7.61;
            double discount = price * 0.18;
            double finalPrice = price - discount;
        Console.WriteLine($"The final price is: {finalPrice:F2} lv." );
            Console.WriteLine($"The dicount is: {discount:F2}lv.");
        }
    }
}
Compiled file is missing. Compiler output: /tmp/ExecutionStrategies/qremhujy.jbk/tmpq5OBwO.tmp(6,20): warning CS0028: 'Program.Main(double[])' has the wrong signature to be an entry point error CS5001: Program does not contain a static 'Main' method suitable for an entry point /tmp/ExecutionStrategies/qremhujy.jbk/tmpq5OBwO.tmp(6,20): error CS0161: 'Program.Main(double[])': not all code paths return a value
Благодаря!