This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #define kelam "müdür!" | |
| void main() | |
| { | |
| printf("hooppp %s\n", kelam); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define ENUZUNDIZGI 100 | |
| #define ENFAZLAKAYIT 100 | |
| #define KAYITDOSYASI "kayitlar.txt" | |
| #define True 1 | |
| #define False 0 | |
| struct ogrenci { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import math | |
| def mesaj(): | |
| print "\nVerdiğin seçenek numarasında belirlenmiş işlem yoktur. Lütfen tekrar işlem seçin..\n" | |
| def secenek(): | |
| print "\n Seçenek << 1 >> Dort islem \n Secenek << 2 >> karekok-ust alma \n secenek << 3 >> trigonometrik islemler \n secenek << 4 >> faktoriyel alma \n secenek << 5 >> moduler hesap \n secenek << 6 >> Logaritma\n secenek << 7 >> Çıkış" | |
| print " Hosgeldiniz..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| #-*-coding:utf-8-*- | |
| def fibo(n): | |
| if n == 0: | |
| return 0 | |
| elif n == 1: | |
| return 1 | |
| elif n > 1: | |
| return fibo(n - 1) + fibo(n - 2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| #-*-coding:utf-8-*- | |
| sayi1 = 3 | |
| sayi2 = 5 | |
| sinir = input("lutfen sınır sayısını girin : ") | |
| a = [] | |
| top = 0 | |
| for i in range(1, sinir+1): | |
| if i % 3 == 0 or i % 5 == 0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| +++++ +++++ | |
| [ | |
| > +++++ ++ | |
| > +++++ +++++ | |
| > +++ | |
| > + | |
| <<<< - | |
| ] | |
| > ++ . | |
| > + . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| def cevir(a): | |
| a = str(a) | |
| i = -1 | |
| b = "" | |
| while -i < len(a) + 1: | |
| b += a[i] | |
| i -= 1 | |
| print int(b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #-*- coding: utf-8 | |
| def name(): | |
| hayal = ["89", "69", "83", "105", "76"] | |
| hayalet = "" | |
| for i in hayal: | |
| hayalet += chr(int(i)) | |
| return hayalet | |
| def teklif(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace KelimeUzayi | |
| { | |
| class KelimeAgaci | |
| { | |
| Dictionary<string, string> d = new Dictionary<string, string>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| string1 = "hasan eve kos, kos hasan kos" | |
| if string1 =~ /^hasan/ | |
| puts "buldum ", $1 | |
| else | |
| puts "bulamadim" | |
| end |