Hi, I need suggestions and help with coding. Please

Hi all, this program is suppose to ask user to input 5 numbers from 1- 50, then display these numbers.
//Second step is randomly place the 5 numbers users picked random orders.
//EXAMPLE: step one. Enter 5 numbers from 1-50: 1, 50, 32, 45, 6 // user inputs
// step two. The numbers are: 1, 50, 32, 45, 6 // display of numbers
// step three. Random number are: 50, 1, 45, 6, 32 // random orders!
//HOWEVER MY PROGRAM DOES NOT WORK LIKE THIS!
// STEPS ONE AND TWO WORK, BUT STEP THREE DOESN'T!
//STEP THREE RANDOMLY GENERATE ITS OWN NUMBERS FROM 1-50
//I WANT TO GENERATE THE NUMBER THE USER INPUTED, THEN USING IT, TO GENERATE IT IN RANDOM PLACES.
PLEASE HELPPPPPP! CODE
/*Hi all, this program is suppose to ask user to input 5 numbers from 1- 50, then display these numbers.
//Second step is randomly place the 5 numbers users picked random orders.
//EXAMPLE: step one. Enter 5 numbers from 1-50: 1, 50, 32, 45, 6 // user inputs
// step two. The numbers are: 1, 50, 32, 45, 6 // display of numbers
// step three. Random number are: 50, 1, 45, 6, 32 // random orders!
//HOWEVER MY PROGRAM DOES NOT WORK LIKE THIS!
// STEPS ONE AND TWO WORK, BUT STEP THREE DOESN'T!
//STEP THREE RANDOMLY GENERATE ITS OWN NUMBERS FROM 1-50
//I WANT TO GENERATE THE NUMBER THE USER INPUTED, THEN USING IT, TO GENERATE IT IN RANDOM PLACES.
//PLEASE HELPPPPPP!
/*
using System;
using System.Collections.Generic;
using System.Text;
namespace TestSort
{
class Program
{
static void Main(string[] args)
{
//Input 5 numbers from user
Console.WriteLine("Enter 5 numbers from 1-50: ");
string s1 = Console.ReadLine();
string s2 = Console.ReadLine();
string s3 = Console.ReadLine();
string s4 = Console.ReadLine();
string s5 = Console.ReadLine();
Console.WriteLine("The numbers are: {0}!", s1 + ", " + s2 + ", " + s3 + ", " + s4 + ", " + s5);
Random rand = new Random();
for (int i = 0; i < 5; i++)
{
// Get a positive random number less than the specified maximum
int j = rand.Next(50);
// Write to console
Console.WriteLine("Random number are: {0}", j);
}
}
}
}
And possibly this as well;
Indicate the state of the list (initially empty) after performing the following list operations:a) Arr.Add( 2) --->
2
Arr.Add( 0, 1) --->
2, 0c) Arr.Add( 3) --->
2, 0, 3d) Arr[1] = 5 --->
2, 5, 0, 3e) Arr.Add( 3, 7) -->
2, 5, 0, 3, 0, 0, 0, 3f) Arr.Add( 1, Arr.Remove( 2) ) --->
1, 5, 0, 3, 0, 0, 0, 3OR
f)f) Arr.Add( 1, Arr.Remove( 2) ) --->
5, 0, 3, 0, 0, 0, 3, 1^I think this is the correct one. Right?
These are my answers (the bolded ones). I'm pretty confident with it.
However, you can be the judge of this. If I make any errors, let me know.
This post has been edited by kelliethile: 21 Nov, 2007 - 11:28 AM