i'm new to c# so i don't know how to use a for loop to increment my nums. num apparently doesn't work in c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int num1;
int num2;
int num3;
int num4;
int num5;
int neg = 0;
int zero = 0;
int pos = 0;
int i;
Console.WriteLine("enter 5 numbers");
num1 = Convert.ToInt32(Console.ReadLine());
num2 = Convert.ToInt32(Console.ReadLine());
num3 = Convert.ToInt32(Console.ReadLine());
num4 = Convert.ToInt32(Console.ReadLine());
num5 = Convert.ToInt32(Console.ReadLine());
for (i=1; i < 6; i++)
{
if (num[i] < 0)
neg = neg + 1;
if (num[i] == 0)
zero = zero + 1;
if (num[i] > 0)
pos = pos + 1;
}
}
}
}