Write a complete app that calculates and displays the product of three integers.
What will be an ideal response?
```
// Product.cs
// Calculating the product of three integers.
using System;
class Product
{
static void Main()
{
int x; // stores first number to be entered by user
int y; // stores second number to be entered by user
int z; // stores third number to be entered by user
int result; // product of numbers
Console.Write("Enter first integer: "); // prompt for input
x = int.Parse(Console.ReadLine()); // read first integer
Console.Write("Enter second integer: "); // prompt for input
y = int.Parse(Console.ReadLine()); // read second integer
Console.Write("Enter third integer: "); // prompt for input
z = int.Parse(Console.ReadLine()); // read third integer
result = x * y * z; // calculate the product of the numbers
Console.WriteLine($"Product is {result}");
} // end Main
} // end class Product
```
Enter first integer: 10
Enter second integer: 20
Enter third integer: 30
Product is 6000
You might also like to view...
________ are text symbols such as small circles or checkmarks that precede each item in a list
A) Buttons B) Commands C) Ribbons D) Bullets
The speed and height of the swipe often control the amount of movement on screen
Indicate whether the statement is true or false