Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Below is my starting code. THANK YOU IN ADVANCE FOR YOUR HELP.

I need help with this C/C# assignment ASAP.... Below is my starting code.... All other instructions are in the attached pictures.

THANK YOU IN ADVANCE FOR YOUR HELP. I REally need this done and don't know what to do!

STARTING CODE:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

Mynamespace

{

class Program

{

static void Main(string[] args)

{

CheckingAccount c1 = new CheckingAccount("Sam", 100);

SavingsAccount s1 = new SavingsAccount("John", 500, 100);

Console.WriteLine("Account Information #1");

Console.WriteLine(c1.ToString());

Console.WriteLine(s1.ToString());

Console.WriteLine("nnTransactions on c1:");

Console.WriteLine("Withdraw $200 from c1: " +

c1.Withdraw(200));

Console.WriteLine(c1.ToString());

Console.WriteLine("Withdraw $60 from c1: " + c1.Withdraw(60));

Console.WriteLine(c1.ToString());

Console.WriteLine("Deposit $500 to c1: " + c1.Deposit(500));

Console.WriteLine(c1.ToString());

Console.WriteLine("Withdraw $200 from c1: " +

c1.Withdraw(200));

Console.WriteLine(c1.ToString());

Console.WriteLine("nnTransactions on s1:");

Console.WriteLine("Withdraw $400: " + s1.Withdraw(400));

Console.WriteLine(s1.ToString());

Console.WriteLine("Withdraw $200: " + s1.Withdraw(200));

Console.WriteLine(s1.ToString());

Console.WriteLine("Deposit $600: " + s1.Deposit(600));

Console.WriteLine(s1.ToString());

Console.WriteLine("Withdraw $400: " + s1.Withdraw(400));

Console.WriteLine(s1.ToString());

Console.WriteLine("Apply Interest: " + s1.ApplyInterest());

Console.WriteLine(s1.ToString());

Console.Write("nnPress Enter to exit the program:");

Console.ReadLine();

Show more
Files: part 1.png
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question