Đã Đóng

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

Kĩ năng: Thuật toán, Lập trình C#, Lập trình C++, Kiến trúc phần mềm

Xem nhiều hơn: 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

Về Bên Thuê:
( 13 nhận xét ) Neenah, United States

ID dự án: #16481191

32 freelancer đang chào giá trung bình $24 cho công việc này

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 Thêm

$30 USD trong 1 ngày
(840 Nhận xét)
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 Thêm

$25 USD trong 1 ngày
(70 Nhận xét)
7.0
$35 USD trong 1 ngày
(268 Nhận xét)
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 trong 1 ngày
(36 Nhận xét)
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 Thêm

$20 USD trong 0 ngày
(38 Nhận xét)
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 trong 1 ngày
(15 Nhận xét)
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 Thêm

$25 USD trong 1 ngày
(18 Nhận xét)
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 Thêm

$35 USD trong 1 ngày
(10 Nhận xét)
4.3
$30 USD trong 1 ngày
(23 Nhận xét)
4.5
$30 USD trong 1 ngày
(20 Nhận xét)
3.9
$25 USD trong 1 ngày
(5 Nhận xét)
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 Thêm

$25 USD trong 1 ngày
(3 Nhận xét)
2.8
VnNorthStar

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

$15 USD trong 2 ngày
(10 Nhận xét)
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 Thêm

$50 USD trong 1 ngày
(1 Nhận xét)
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 trong 1 ngày
(2 Nhận xét)
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 Thêm

$10 USD trong 1 ngày
(3 Nhận xét)
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 trong 2 ngày
(6 Nhận xét)
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 trong 1 ngày
(0 Nhận xét)
0.0
$10 USD trong 1 ngày
(0 Nhận xét)
0.0
$25 USD trong 1 ngày
(0 Nhận xét)
0.0