7 Aralık 2017 Perşembe

Döngüler Do while

 Do While örnek: 20 ye kadar say değişkendeki sıfırdan başlayıp while deki rakamdan küçük olanları ekrana say:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace App16
{
    class Program
    {
        static void Main(string[] args)
        {
            int Counter = 0;
            do
            {
                Console.WriteLine(Counter);
                Counter += 1;
            }
            while (Counter < 20);






            Console.ReadLine();
        }
    }
}

Hiç yorum yok:

Yorum Gönder

Veeam Failed to retrieve object hierarchy: exception

 25.02.2026 09.00 :: Host 10.0.0.10 your vcenter ip address is not available. Error: Failed to retrieve object hierarchy: exception ID 12958...