Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace MyNamespace
- {
- class Program
- {
- static void Main()
- {
- int mult = 1;
- int[] arr = new int[5] { 2, 35, 6, 8, 9 };
- for (int i = 0; i < arr.Length; i++)
- {
- mult *= arr[i];
- }
- System.Console.Write("mult: ");
- System.Console.WriteLine(mult);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement