using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
/Please dont change namespace, Dcoder and class must not be public/
//Compiler version 4.0, .NET Framework 4.5
namespace Dcoder
{
public class Program
{
public static void Main(string[] args)
{
//Your code goes here
int L;
int Toplam = 0;
for (L=0; L<=1000; L+=5){
Console.WriteLine(L);
Toplam=Convert.ToInt32(Toplam + L);
}
Console.WriteLine(Toplam);
}
}
}
Bir cevap yazın