remove implicit declaration

This commit is contained in:
Andreas Zweili 2017-06-10 08:52:04 +02:00
parent 839a7e4b78
commit be68d466c1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ namespace iterations
string result = string.Empty;
{
Console.WriteLine("Please enter a number:");
var input_number = int.Parse(Console.ReadLine());
int input_number = int.Parse(Console.ReadLine());
for (int i = 0; i < input_number; i++)
{
if (i % 7 == 0)