Write a functin to add two no. Both no can be int, float.
Answers were Sorted based on User's Feedback
Answer / mithun
public double Add(double a, double b)
{
double c =a + b;
return c;
}
Is This Answer Correct ? | 13 Yes | 1 No |
public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
}
Is This Answer Correct ? | 5 Yes | 11 No |
Answer / aaaa
public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
return(c);
}
Is This Answer Correct ? | 1 Yes | 8 No |
What is binding in c#?
What?s the difference between System.String and System.StringBuilder classes?
What is a dll in c#?
What is parameterized constructor?
What is token in c#?
what is read only and constant
What is file extension of webservices?
What are custom exceptions in C#?
Explain namespaces in c#.
What are types of constructor?
Write a program to find the angle between the hours and minutes in a clock
How to generate strong name key file or which command is used to generated strong name key file?