Need help with for loops..

I am trying to create a program for my C# class.

The criteria is as follows: Write a console application to input 2 numbers via the console. Once you have the numbers display the larger of the two. I want the program to do this 10 times. The professor also states that we must use a for loop to achieve this.

My attempt is linked below and it compares the two numbers but I just do not know how to replicate this 10 times. Any help would be much appreciated!

https://gist.github.com/kindawg98/3d211ad70536452e9a7a797eb7f6c0ce

Edit: New code https://gist.github.com/kindawg98/170c7665089704e433c13c40e8c4bc62

submitted by /u/kindawg98
[link] [comments]

Leave a Reply