.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

multiplication value return

Posted By:Maharaja       Posted Date: September 25, 2011    Points: 40    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

multiplication return value statement program using for beginners understand the codes in c# console application because i am also beginner of c#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace multiplication_vaue_return
    class Program
        static int mul(int n, int m, int a, int b, int c)
            return (((n * m) + (a - b)) / c);
        static void Main(string[] args)
            int result = mul(5, 2, 5, 3, 8);
            Console.WriteLine("multiplication:" + result);


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend