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

Evner: Algoritme, C# Programmering, C++ Programmering, Software Arkitektur

Se mere: write a c++ code, write c code, write c++ code program for preparing for www ethiotsgereda com menu, how to run c# program without visual studio, how to compile and run c# program in command prompt in windows, c# console application tutorial, how to compile c# program in command prompt, c# source code examples, how to run c# program in notepad, visual studio console application c#, c# hello world code, software development, c# programming, software architecture, .net, windows desktop, asp.net, web scraping, web development, write a java code programming for calculating the marks of students using if and while loop

Om arbejdsgiveren:
( 13 bedømmelser ) Neenah, United States

Projekt ID: #16481191

32 freelancere byder i gennemsnit $24 på dette 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 Flere

$30 USD på 1 dag
(840 bedømmelser)
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 Flere

$25 USD på 1 dag
(70 bedømmelser)
7.0
$35 USD på 1 dag
(268 bedømmelser)
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 på 1 dag
(36 bedømmelser)
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 Flere

$20 USD in 0 dage
(38 bedømmelser)
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 på 1 dag
(15 bedømmelser)
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 Flere

$25 USD på 1 dag
(18 bedømmelser)
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 Flere

$35 USD på 1 dag
(10 bedømmelser)
4.3
$30 USD på 1 dag
(23 bedømmelser)
4.5
$30 USD på 1 dag
(20 bedømmelser)
3.9
$25 USD på 1 dag
(5 bedømmelser)
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 Flere

$25 USD på 1 dag
(3 bedømmelser)
2.8
VnNorthStar

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

$15 USD in 2 dage
(10 bedømmelser)
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 Flere

$50 USD på 1 dag
(1 bedømmelse)
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 på 1 dag
(2 bedømmelser)
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 Flere

$10 USD på 1 dag
(3 bedømmelser)
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 dage
(6 bedømmelser)
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 på 1 dag
(0 bedømmelser)
0.0
$10 USD på 1 dag
(0 bedømmelser)
0.0
$25 USD på 1 dag
(0 bedømmelser)
0.0