(Advance Web Programming) – Creating an application that obtains four values from the user and display’s the product

(Advance Web Programming) – Creating an application that obtains four values from the user and display’s the product
(Last Updated On: April 28, 2019)

(Advance Web Programming) – Creating an application that obtains four values from the user and display’s the product(Advance Web Programming) - Creating an application that obtains four values from the user and display's the product

Program

using System;

class Passingvalues
{
public static void Main(string[] args)
{
Console.WriteLine(“Enetr the four numbers”);
int a=int.Parse(args[0]);
int b=int.Parse(args[1]);
int c=int.Parse(args[2]);
int d=int.Parse(args[3]);
Console.WriteLine(“product”+ a*b*c*d);

}
}

Output

(Advance Web Programming) - Creating an application that obtains four values from the user and display's the product

 

Jason Gomes

A passionate blogger by heart .Founder of Creatormaster.com,Life motto: You can do many things in life. The only limit is your imagination

This Post Has One Comment

  1. Hey I am so glad I found your website, I really found you by error, while I was browsing on Aol for something else, Regardless I am here now and would just like to say kudos for a fantastic post and a all round entertaining blog (I also love the theme/design), I don’t have time to read through it all at the minute but I have saved it and also added your RSS feeds, so when I have time I will be back to read more, Please do keep up the great work.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu
Translate »