question archive Declare the following arrays in your main method char[] letters = "the quick brown fox jumps over the lazy dog"
Subject:Computer SciencePrice:3.86 Bought5
Declare the following arrays in your main method
char[] letters = "the quick brown fox jumps over the lazy dog".ToCharArray();
int[] numbers = {0, 2, 3, 5, 7, 1, 1, 2, 5, 6, 7, 2, 5, 2};
string[] poem = "mary had a little lamb its fleece was white as snow".Split();
1. Try to practice your foreach loop
Write method that takes an argument (an int array) and print each item on a single line separated by a space. From your main, call this method with numbers as argument2.
2.Try to practice your foreach loop
Write method that takes an argument (a string array) and print each item on a single line separated by a space. From your main, call this method with poem as argument3.
Purchased 5 times