Em Andamento

Create, test, and submit a [url removed, login to view] file that modifies the Calculator class below to:

Create, test, and submit a [url removed, login to view] file that modifies the Calculator class below to:

include two private integer fields.(int valueA, valueB)

include a public class Constructor that takes two integer parameters and sets the private fields to the values supplied.(public Calculator(int a, int b))

include a comment answering why we will not recreate the implicit constructor/default constructor? (Hint: what happens when we divide 1 by 0)

modify the existing Add, Subtract, Modify, Divide functions to use the new integer fields to return the calculations.(ie. return a + b, remove the parameters from the function Add())

Create/use a new console application Class (ie. Program Class), with a Main() function, using System, to test and display to the console, your calculator class functions with an instantiated Calculator object.(Calculator c = new Calculator(3,4))

class Calculator

{

public int Add(int value1, int value2)

{

return value1 + value2;

}

public int Subtract(int value1, int value2)

{

return value1 - value2;

}

public int Multiply(int value1, int value2)

{

return value1 * value2;

}

public int Divide(int value1, int value2)

{

return value1 / value2;

}

}

Habilidades: Programação C#

Ver mais: programming class, cs programming, c sharp test, c # sharp test, c sharp object, class programming, calculator programming, 0 1 integer programming, a b, calculator c++, return file, implicit, comment program, calculator console, hint system, display test, modify existing class, object program, sharp console program, comment submit, programming calculator, calculations program, class function create, wcf test class file, calculator function

Acerca do Empregador:
( 2 comentários ) ssdad, Canada

ID do Projeto: #5129064

Premiar a:

erwinyudha

Hello Sir, I need 3-5 minutes to completed this project, if you interest sendme 10$, I interested to work with you. Thanks.

$10 USD em 0 dias
(1 Comentário)
0.0

14 freelancers estão ofertando em média $22 para este trabalho

ramyrafik

Hello I'm an expert C# developer. I'm also a Computer Engineering graduate with a strong knowledge of Algorithms and Data Structures. I can assist you in this task and complete it within few hours.

$18 USD em 1 dia
(56 Comentários)
5.9
senthilkm2013

Hi, I can help you in this. Please can you contact to discuss further? Please can you contact to discuss further?

$30 USD em 1 dia
(4 Comentários)
4.3
kawsar92

I have done lots of assignments in java. And I have a a good experience in C# also. I will provide sufficient comment. And I will deliver it to you within 30 minutes. Please check my profile to know if I am capable or Mais

$11 USD in 0 dias
(2 Comentários)
3.4
oobretenov

I could help you with this project. . Mais

$35 USD em 1 dia
(3 Comentários)
2.4
singharun7

i have an exp in c# and i already create calculator in window form........... i can do it .. so lets start..... provide more details i m waiting for your reply Thank You Arun

$28 USD em 1 dia
(3 Comentários)
2.2
Peterpay

i've the code already done just 15 usd my last offer, already tested and with the questiosn answered leave it or take it kind regards PEdro

$20 USD in 0 dias
(0 Comentários)
0.0
khaledkee

A proposal has not yet been provided

$25 USD in 0 dias
(0 Comentários)
0.0
niravbhavsar289

Hello Sir, i am working from past 7 years in C# technologies. I can serve you beyond your requirements. I will appreciate you with my work and performance at accurate time. I have proficiency in Programming. Thanks Mais

$20 USD em 1 dia
(0 Comentários)
0.0
tunght2191

Hello! I've read your requirement. It's very easy for me. In addition, I participated in many projects like this. So, I'm sure I can deal with your requirement very well and I'm your best choice. Thanks!

$15 USD em 1 dia
(0 Comentários)
0.0
meljux

Hi, Here's the answer for your test, provide your email to send this answer in a zip file. We can have a deal for $15 + Good Review + One opinion, deal? class Calculator { int ValueA; int ValueB; public Mais

$30 USD in 0 dias
(0 Comentários)
0.0
junaidmanzoor

Hello Lackey, That was just "Hello World" problem and unbelievably simple.I have completed and tested your required code. Give me the task and i will send you the files immediately. Thanks, - Junaid

$25 USD em 1 dia
(0 Comentários)
0.0
MJ33

I have already completed the project in about half an hour, and works exactly as the project specification requires. I am an entry level programmer, and am very willing to go the extra mile for the development of my sk Mais

$15 USD in 0 dias
(0 Comentários)
0.0
SSeemant

Dear Sir, Over seven year's software development experience mainly using Microsoft .NET technologies. Well experienced in overall software development process. Takes special interest in designing scalable .NET applic Mais

$25 USD in 3 dias
(0 Comentários)
0.0