Ersoylu
New member
- Joined
- Sep 7, 2021
- Messages
- 1
- Programming Experience
- Beginner
Hello everyone, i have a question about how can i create an for loop with user input.
Basicly what i need to do is take 2 numbers from the user and show the numbers between as an result.
Console.WriteLine("Write down 2 numbers");
int input = Convert.ToInt32(Console.ReadLine());
int input2 = Convert.ToInt32(Console.ReadLine());
for (int i = 0; i < input; i++) { }
I am stuck on how can i calculate between nummers that user inputs.
Thanks for help
(I started programing like 2 days ago so I am very new to this, sorry if i created this post in a wrong section.)
Basicly what i need to do is take 2 numbers from the user and show the numbers between as an result.
Console.WriteLine("Write down 2 numbers");
int input = Convert.ToInt32(Console.ReadLine());
int input2 = Convert.ToInt32(Console.ReadLine());
for (int i = 0; i < input; i++) { }
I am stuck on how can i calculate between nummers that user inputs.
Thanks for help
(I started programing like 2 days ago so I am very new to this, sorry if i created this post in a wrong section.)