Question: C# Programming : How can fix the red line underneath. The problem given is that: 15% off for those who is club member. // Anvil

C# Programming : How can fix the red line underneath. The problem given is that: 15% off for those who is club member.
// Anvil Cost calculation double costPerAnvils = 0.0; if (numberOfAnvils = 20) { costPerAnvils = 68.25; } Console.Write(" SCRIPT: Are you a member of our futility club frequent shopper program ('y' if yes)? :"); String clubMember = Console.ReadLine(); WANA if (clubMember Y) { costTotal = number of Anvils costPerAnvils* 0.15M; } else if (clubMember N) { costTotal numberOfAnvils * costPerAnvils; } NANAN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
