Create, test, and submit a Program.cs file that modifies the Calculator class below to:
$10-30 USD
Completed
Posted over 10 years ago
$10-30 USD
Paid on delivery
Create, test, and submit a [login to view URL] 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;
}
}
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.
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 not. Let me know please. Thank you.
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
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
Lets begins
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!
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
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 skills.
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 applications and loves being
technically challenged.
A focused and dedicated individual with high technical competency and aspiration to learn new technologies.
Adoptable for any working environment or culture with the proven ability to take high pressure and pursuit high challenges.
Preferred technologies are,
ASP .NET
Webservices
Window Services
Enterprise application
Windows Application
Console Application
Multithreading
OOD & OOP
C#
VB .NET
Microsoft SQL Server
MVC (Razor)
NopCommerce
JQuery
Thanks
Seemant