Closed

Write C# code - Follow directions

• 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

Skills: Algorithm, C# Programming, C++ Programming, Software Architecture

See more: write a c++ code, write c code, write c++ code program for preparing for www ethiotsgereda com menu, write a java code programming for calculating the marks of students using if and while loop, write a c program which can find the root of any function using secanet method, u learn c or c++ understandable c and c++ programming tutorials compiler reviews source code tips and tricks the c book table of, c programming to write a programme to find out the sum of different series, c# code to write excel rows from a nested array, c code to write excel rows from a nested array, directions write flash code, write javascript code anywhere window shows key pressed, write html code post article blog, write php code tiny mce, write rss code, write integration code, connect board java write game code, write html code image, write html code images

About the Employer:
( 13 reviews ) Neenah, United States

Project ID: #16481191

32 freelancers are bidding on average $24 for this job

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 More

$30 USD in 1 day
(840 Reviews)
7.4
qprotex

Hello, My name is Miguel Febres and you can locate my resume and certifications in the following links: [login to view URL] [login to view URL] In my 10+ years of e More

$25 USD in 1 day
(70 Reviews)
7.0
$35 USD in 1 day
(268 Reviews)
6.6
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 in 1 day
(36 Reviews)
5.9
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 More

$20 USD in 0 days
(38 Reviews)
5.1
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 in 1 day
(15 Reviews)
4.9
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 More

$25 USD in 1 day
(18 Reviews)
4.3
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 More

$35 USD in 1 day
(10 Reviews)
4.3
$30 USD in 1 day
(23 Reviews)
4.5
$30 USD in 1 day
(20 Reviews)
3.9
$25 USD in 1 day
(5 Reviews)
3.0
cuntianhong

How are you? Thank you for your posting new project. I fully understood your need and I can do it for you. I'm C/C++, C# and python expert. I can process your project in time. If you select me, I will provide you More

$25 USD in 1 day
(3 Reviews)
2.8
VnNorthStar

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

$15 USD in 2 days
(10 Reviews)
2.4
passion201801

Hello! I am really interested in your project as a computer vision expert. I have rich experiences in c, c++, C#, .NET, Qt, etc. So I am really confident about your project. Please contact me for further discussion More

$50 USD in 1 day
(1 Review)
2.1
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 in 1 day
(2 Reviews)
2.1
managent88

-Professional C#, Algorithm, c++ expert ! Best Result in Time!------------------------------ Hello sir. I've really rich experience for your project, so your project is very interesting to me. I'm really confident a More

$10 USD in 1 day
(3 Reviews)
1.7
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 in 2 days
(6 Reviews)
1.8
agrynda

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

$25 USD in 1 day
(0 Reviews)
0.0
$10 USD in 1 day
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0