Jump to content

Kiwi00000

Member
  • Posts

    54
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Kiwi00000 got a reaction from Unhelpful in What is college?   
    I have a Bachelor's Degree in CS and IT (double major), the first year was never meant to be hard. It is there is set everyone up with the same knowledge and get the fundamentals in place. Everyone comes from different backgrounds and the university can't assume everyone has the same base knowledge.
     
    Once you hit the later years, you will see that the content gets better and better.
     
    Just keep going, also remember going back to university/college later is life get harder and harder.
  2. Like
    Kiwi00000 got a reaction from AustinB in Help please:   
    This is an very ugly solution, but I only had a few mins to chuck this together.
     
    You could also use a switch statement and have a default case that says "I don't know this channel".
     
    You might also want to add a looping function that allows the user to re-enter a number and get another channel name.
     
    More information would be nice next time so we know how in depth your programming knowledge is.
     
    Hope this helped.
    static void Main(string[] args)        {            string[] channelNames = new string[10];            channelNames[0] = "AAAAAA";            channelNames[1] = "BBBBBB";            channelNames[2] = "CCCCCC";            channelNames[3] = "DDDDDD";            channelNames[4] = "EEEEEE";            channelNames[5] = "FFFFFF";            channelNames[6] = "GGGGGG";            channelNames[7] = "HHHHHH";            channelNames[8] = "IIIIII";            channelNames[9] = "JJJJJJ";            int channelNumber = 0;            string line;            Console.Write("Please enter a channel number: ");            line = Console.ReadLine();            if ((int.TryParse(line, out channelNumber)) && (channelNumber > 0 && channelNumber < 10))            {                Console.WriteLine("Channel Name is " + channelNames[channelNumber - 1]);            }            else            { //The number that was has been entered was wrong.                Console.WriteLine("ERROR: There was an error with the channel name");            } Console.ReadLine(); //Only here to make sure that the program does not close when you are trying to read the console.        }
  3. Like
    Kiwi00000 got a reaction from Wtalk2 in Help please:   
    This is an very ugly solution, but I only had a few mins to chuck this together.
     
    You could also use a switch statement and have a default case that says "I don't know this channel".
     
    You might also want to add a looping function that allows the user to re-enter a number and get another channel name.
     
    More information would be nice next time so we know how in depth your programming knowledge is.
     
    Hope this helped.
    static void Main(string[] args)        {            string[] channelNames = new string[10];            channelNames[0] = "AAAAAA";            channelNames[1] = "BBBBBB";            channelNames[2] = "CCCCCC";            channelNames[3] = "DDDDDD";            channelNames[4] = "EEEEEE";            channelNames[5] = "FFFFFF";            channelNames[6] = "GGGGGG";            channelNames[7] = "HHHHHH";            channelNames[8] = "IIIIII";            channelNames[9] = "JJJJJJ";            int channelNumber = 0;            string line;            Console.Write("Please enter a channel number: ");            line = Console.ReadLine();            if ((int.TryParse(line, out channelNumber)) && (channelNumber > 0 && channelNumber < 10))            {                Console.WriteLine("Channel Name is " + channelNames[channelNumber - 1]);            }            else            { //The number that was has been entered was wrong.                Console.WriteLine("ERROR: There was an error with the channel name");            } Console.ReadLine(); //Only here to make sure that the program does not close when you are trying to read the console.        }
  4. Like
    Kiwi00000 got a reaction from MellowCream in [HTML] How should I correct this?   
    This is my solution to your issue. Put this in your css file.
    table{    border: 0px solid black;    table-layout: fixed;    width: 100%;}th, td {    border: 0px solid black;    overflow: hidden;    width: 50%;}
×