Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In visual basic i need to complete these two parts for the project to be completed. The first is MathFunctions.cs and the second is ArrayFunctions.cs.

In visual basic i need to complete these two parts for the project to be completed. The first is MathFunctions.cs and the second is ArrayFunctions.cs. It is all going to work with this

below is the start of the code for the Math Functions

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

namespace PFW.CSIST203.Project1.Functions { public class MathFunctions { private log4net.ILog logger = log4net.LogManager.GetLogger(typeof(MathFunctions)); internal static readonly string ErrorMessage = "Error";

public string Add(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }

public string Subtract(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }

public string Multiply(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }

public string Divide(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }

public string Modulus(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }

public string Power(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }

}

}

Below is the start of the ArrayFunctions

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

namespace PFW.CSIST203.Project1.Functions {

public class ArrayFunctions {

///

/// The persistent file used to load and store data when the Store() and Load() methods are utilized /// /// internal string PersistentFile { get; set; }

public static readonly string DefaultPersistentFile = "data.txt";

internal Random Randomizer { get; set; }

public ArrayFunctions() : this("data.txt") { }

public ArrayFunctions(string persistentFile) : this(persistentFile, null) { }

public ArrayFunctions(string persistentFile, int? seed) { // TODO: Implement }

public void Store(string[] data) { // TODO: Implement throw new NotImplementedException(); }

public string[] Load(int dataCount) { // TODO: Implement throw new NotImplementedException(); }

public string[] Randomize(string[] data) { // TODO: Implement throw new NotImplementedException(); }

public string[] ShiftRight(string[] data) { // TODO: Implement throw new NotImplementedException(); }

public string[] ShiftLeft(string[] data) { // TODO: Implement throw new NotImplementedException(); }

public string[] Reverse(string[] data) { // TODO: Implement throw new NotImplementedException(); } }

}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

What are HR ethics?

Answered: 1 week ago