using System; public class Test { public static void Main() { // your code goes here int N = 3; int a = 0; for(int x=1; x<=N; x++) { a += x; } Console.WriteLine(a); } }