write a program to print the print the product of the first 10 even number.
1
Expert's answer
2012-12-10T10:46:34-0500
using System;
namespace Product { class Program { & static void Main(string[] args) & { long product = 1; for (int number = 1; number <= 10; number++) product *= (number * 2);
Console.WriteLine(@"The product of the first 10 even numbers starting from 2 is {0}.", product); Console.WriteLine("The product of the first 10 even numbers starting from 0 is 0."); Console.ReadKey(); & } } }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment