using System;
public class Product {
public static void Main(string[] args) {
int x;
int y;
int z;
int result;
Console.Write("Enter first integer: ");
x = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter second integer: ");
y = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter third integer: ");
z = Convert.ToInt32(Console.ReadLine());
result = x * y * z;
Console.WriteLine("Product is {0}", result);
}
}
|