Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is winforms c#?

909


Give an example of a directcast.

873


What is asenumerable in c#?

841


Can we declare class as protected?

923


What is variable and its classification?

893


Is there any sample c# code for simple threading?

877


What is difference between asp net and c# net?

925


What is exe in c#?

864


Why do I get a syntax error when trying to declare a variable called checked?

950


What are the uses of delegates in c#?

989


What does the initial catalog parameter define in the connection string?

871


What does return do in for loop?

872


What is difference between array and arraylist in c#?

889


What is c-sharp (c#)?

894


What is the base class from which all value types are derived?

887