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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!