Create a console-based program whose Main() method declares three integers named fi rstInt, middleInt, and lastInt. Assign values to the variables, display them, and then pass them to a method that accepts them as reference variables, places the fi rst value in the lastInt variable, and places the last value in the fi rstInt variable. In the Main() method, display the three variables again, demonstrating that their positions have been reversed. Save the program as Reverse3.cs
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here