Write a functin to add two no. Both no can be int, float.
Answer Posted / mithun
public double Add(double a, double b)
{
double c =a + b;
return c;
}
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is winforms c#?
Give an example of a directcast.
What is asenumerable in c#?
Can we declare class as protected?
What is variable and its classification?
Is there any sample c# code for simple threading?
What is difference between asp net and c# net?
What is exe in c#?
Why do I get a syntax error when trying to declare a variable called checked?
What are the uses of delegates in c#?
What does the initial catalog parameter define in the connection string?
What does return do in for loop?
What is difference between array and arraylist in c#?
What is c-sharp (c#)?
What is the base class from which all value types are derived?