Question: help with C# assignment 1) Build a method which reads 3 integers from the console and returns them as an int array (type a number,

help with C# assignment

1) Build a method which reads 3 integers from the console and returns them as an int array (type a number, then hit enter, 3 times). This needs to be its own method.

2) Call this method twice to store 2 local int array variables.

3) Once both arrays are built, write another method which accepts the two arrays and compares the contents to see if they match. If the method returns true (the arrays match), display "Arrays match" in the console. Otherwise, display "Arrays don't match" in the console.

4) Finally, ensure at the end, that the user must hit the enter key in order to exit the program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!