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 are Uses of CLR
What is meant by console programming?
Is linkedhashset synchronized?
How to use session under class file of APP_Code folder?
Why are strings immutable c#?
What is an assembly in .net?
What is singleordefault?
What are the types of class in c#?
What are examples of desktop applications?
Which are the loop types available in c#?
Assignment # 1 Print the pattern given below using single printf statement XX XX XX XX XX XX X X X X XX XX XX XX XX XX Assignment # 2 Print the pattern given below using single printf statement (please do NOT use the string function below) 0 909 89098 7890987 678909876 56789098765 4567890987654 345678909876543 23456789098765432 1234567890987654321
What are partial types in c#?