Jenni Witzel

Jenni Witzel

  • NA
  • 27
  • 0

I need help with my C# Homework ? I figured out most of it but one section

Oct 23 2008 7:53 PM
using System;
using SC = System.Console;
public class NLastLab8
{ //Main Method
    public static void Main()
    {
        int[] myListArray= new int[12];
         myListArray[0] = myListArray[1] = 1;
     
            SC.WriteLine("Lab 8 โ€“ Your Name\n");

        for (int x = 0; x < 12; ++x)
        {
            SC.Write("Please enter a value for element {0} -->\t", x);
            myListArray[x] = Convert.ToInt32(SC.ReadLine());
        }


        SC.WriteLine(โ€œ\n\nThe values entered were: {0}โ€, myListArray[0]);


what goes here






       
        

        







        SC.WriteLine("\nLab 8 has successfully terminated for Your Name");

Answers (3)