Question: 6. Loop Favorite Foods Write a loop that prints out every value from the array favFoods. Click the Check It button below to test your
6. Loop Favorite Foods
Write a loop that prints out every value from the array favFoods.
Click the Check It button below to test your answer. There is no limit to the number of attempts.
use this blueprint below and use c#
using System;
namespace LoopFavoriteFoods
{
class Program
{
static void Main(string[] args)
{
string[] favFoods =
{
"Pizza", "Gyros", "Tacos", "Pasta", "Chili"
};
/* Write your solution here */
}
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
