Kong vs Godzilla ! Помощ
Пробвах да я направя стигнах до някъде и после "stucknah". Идеи някакви ? Или насоки ?
using System;
using System.Security.Cryptography;
namespace PracticeJudgeExer
{
class Program
{
static void Main(string[] args)
{
//Read
double movieSalary = double.Parse(Console.ReadLine());
int statist = int.Parse(Console.ReadLine());
double dressPrice = double.Parse(Console.ReadLine());
double decor = movieSalary * 0.10;
double totalDress = dressPrice * statist;
//double totalDecorDress = decor + totalDress;
double totalMovie = movieSalary - totalDress;
//Calculation
if (statist >= 150)
{
double discount = totalDress * 0.10;
double totalDiscount = totalMovie - discount;
}
if (movieSalary < totalMovie)
{
Console.WriteLine("Not enough money!");
double notEnoughMoney = totalMovie - movieSalary;
Console.WriteLine($"{0:f2} Wingard needs {notEnoughMoney} leva more.");
}
if (movieSalary >= totalMovie)
{
Console.WriteLine("Action");
double profit = movieSalary - totalMovie;
Console.WriteLine($"{0:f2} Wingard starts filming with {profit} leva left.");
}
}
}
}