21 Aralık 2013 Cumartesi

C # PROGRAMI İLE ÖRNEK SORULAR-39

(onaltılık yapılar)
using System;
using System.Collections.Generic;
using System.Text;

namespace onaltılıkCA
{
    class Program
    {
        static void Main(string[] args)
        {
            int c, d;
            c = 0x3b;
            d = 0x2da;
            Console.WriteLine("\n c={0}",c);
            Console.WriteLine("\n d={0}", d);
            Console.ReadLine();
        }
    }
}
CEVAP)c=59

              d=730

Hiç yorum yok: