Write C# code - Follow directions

Stängt Publicerat 6 år sedan Betalades vid leverans
Stängt Betalades vid leverans

• Create a base class named Calculator containing a property named total with an initial value of 0.0,

and a method for each of the following:

(NOTE: see a description of the functionality for each method below)

• addition - takes a Double argument value, adds it to the total value, and returns the new total

• subtraction - takes a Double value, subtracts it from the total value, and returns the new total

• multiplication - takes a Double value, multiplies it by the total value, and returns the new total

• division - takes a Double value, divides the total value by the new value, and returns the new

total. Include exception handling code to handle errors that might arise when a “division by

zero” error occurs.

• clear - it simply sets the total property value to 0.0

DERIVED CLASS

• Create a subclass of the Calculator class named ScientificCalculator

• The ScientificCalculator class must include a property named memory with an initial value of 0.0.

• In addition, the following methods must be implemented in the subclass to extend the functionality

in the Calculator class:

• log - takes a Double value, and returns log of the input value - log(value)

• sin - takes a Double value, and returns sin of the input value - sin(value)

• cos - takes a Double value, and returns cos of the input value - cos(value)

• tan - takes a Double value, and returns tan of the input value - tan(value)

• In the Calculator class, modify the clear method so it will set the total value to 0.0 when it is called.

• In the ScientificCalculator class, override the clear method so it will set the total value to 0.0 when

it is called.

• Override the clear method in the subclass so it will simply extend the existing functionality of the

base method by adding the ability to set the memory property value of the subclass to 0.0

*There is more to it, but I will update

Algoritm C#-programmering C++-programmering Programvaruarkitektur

Projekt-id: #16481191

About the project

28 offerter Distansprojekt Aktivt 6 år sedan

28 frilansare har lagt bud på i genomsnitt $23 för det här jobbet

it2051229

Hi there, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested. I am familiar with C# and the principles of object oriented programming require Mer

$30 USD inom 1 dag
(962 omdömen)
7.6
kamran211

Hello there! I am placing my bid here because I noticed that you are looking a C# programmer who can follow the instructions and write Object Oriented Programming code. I am up for the job! Please feel free to discus Mer

$20 USD inom 0 dagar
(68 omdömen)
6.4
oyasniy

Hi, I would like to write the program Calculator for you on C#. You can rely on me. I am an experienced developer. Looking forward to hear from you. Best regards, Dr. Oleh Y.

$30 USD inom 1 dag
(39 omdömen)
6.1
schungur

EXPERIENCED DEVELOPER... PLEASE CHECK MY BADGE, PROJECTS AND REVIEWS and ensure yourself that I can do this very well and very quick

$25 USD inom 1 dag
(39 omdömen)
6.0
Artopix

Hi there, i can create your calculator using c# and .net framework as you have mentioned . Being a .net professional i can do it as you like. I will use linq and lamda expressions to make its performace even more bette Mer

$35 USD inom 1 dag
(20 omdömen)
5.8
Xeeshanah

Hello there, i've read your project description and i can provide you the solution in no time. I've proficiency in c# and c++ along with strong problem solving skills. I can provide you quality solution in no time and Mer

$25 USD inom 1 dag
(37 omdömen)
4.9
VnNorthStar

Hi I'm ready for this project. Please give me an opportunity. I will do it perfectly.

$15 USD inom 2 dagar
(32 omdömen)
4.5
josh52802

Very simple project, I could create this class for you in less than a day. Feel free to contact me if you are interested in me completing this project for you, or you have any further questions.

$20 USD inom 1 dag
(2 omdömen)
2.1
Quzal

I'm cross platform developer I can do this easily I do quality work I would like to take this job.I have read details I'm all set to work

$25 USD inom 2 dagar
(6 omdömen)
1.8
jangjie

Dear Client I reviewed your project carefully and have a feel that I can satisfy your request. I have full experience in Android programming Also,I have perfect experience in that universe and it looks nothing diffi Mer

$25 USD inom 1 dag
(0 omdömen)
0.0
eludema9

Hi! Sounds like a nice, clean project and well thought out. I recently completed a sound synthesis app in C# that makes extensive use of various math functions. I'd be glad to help with your project! Relevant Skills a Mer

$25 USD inom 1 dag
(0 omdömen)
0.0
angelsalcido

The calculator will be created following the classes and methods requested. the correctly documented code will be delivered

$25 USD inom 5 dagar
(1 omdöme)
0.0
dusanbegovic

I got similar project on my first year of college, if i manage to find it I could submit it to you in less than an hour, if not I can build it myself in 4-6 hours depends on my schedule. Cheers!

$20 USD inom 1 dag
(0 omdömen)
0.0
omniterry

I have been a professional C# engineer for 11 years now. Please visit my linked in profile and check out my endorsements.

$25 USD inom 1 dag
(0 omdömen)
0.0
Kokteilis

Hello. I'm just getting started with this website so it's in my best interest to deliver quality solution ir best time possible.

$15 USD inom 1 dag
(0 omdömen)
0.0
starvi

Hello my friend, have a nice day!. Let's do it together . You will have a nice project for 1 day. PM me if you have any question.

$10 USD inom 1 dag
(0 omdömen)
0.0
agrynda

I am new and hungry to create some code.I am experienced developer who can write code easy to understand.

$25 USD inom 1 dag
(0 omdömen)
0.0