This file contains 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
# QuickFind programı | |
# Mehmet Mert Yildiran 12060367 | |
# Ubuntu üzerinde çalıştırmak için: | |
# ruby quickfind.rb | |
class QuickFind | |
def initialize(n) | |
@ids = [] | |
0.upto(n-1) {|i| @ids[i] = i} | |
end |
This file contains 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
// nxn'lik bir matrise Cramer uygulayan program | |
// Mehmet Mert Yıldıran 12060367 | |
// Ubuntu terminal altında çalıştırma: | |
// gcc cramer.c -o cramer | |
// ./cramer | |
#include<stdio.h> | |
void readmatrix(int m[][8], int s){ | |
int i,j; | |
printf("Matrisin elemanlarını sırasıyla Enter'a basarak giriniz: \n"); |
This file contains 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
// nxn'lik bir matrise Gauss Elimination uygulayan program | |
// Mehmet Mert Yıldıran 12060367 | |
// Ubuntu terminal altında çalıştırma: | |
// gcc gauss.c -o gauss | |
// ./gauss | |
#include<stdio.h> | |
#define MAX 10 | |
int lcm(int x,int y); |
This file contains 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
// nxn'lik bir matrisin determinantını hesaplayan program | |
// Mehmet Mert Yıldıran 12060367 | |
// Ubuntu terminal altında çalıştırma: | |
// gcc determinant.c -o determinant -lm | |
// ./determinant | |
#include<stdio.h> | |
#include<math.h> | |
#define MAX 10 |
This file contains 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
# RUBY HTML TAG CHECKER | |
# MEHMET MERT YILDIRAN | |
# OGRENCI NO: 12060367 | |
# | |
# Ruby 2.0.0-p247 | |
# | |
# Örnek kullanım: | |
# html_filtrele("C:/Users/admin/Desktop/Specte.htm") | |
# html_tag_checker("C:/Users/admin/Desktop/Specte.htm") | |
# result = html_tag_checker("C:/Users/admin/Desktop/Specte.htm") |
This file contains 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> | |
int main(void) { | |
enum Renkler { beyaz, siyah, gri, kirmizi, sari, mavi }; | |
enum Renkler boya1, boya2, boya3, boya4, boya5; | |
boya1=siyah; | |
boya2=beyaz; | |
boya3=sari; |
This file contains 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> | |
int main() | |
{ | |
char ch, source_file[20], target_file[20]; | |
FILE *source, *target; | |
printf("Enter name of file to copy\n"); | |
gets(source_file); |
This file contains 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> | |
int main(void) | |
{ | |
int alt_sinir, ust_sinir, toplam, i; | |
scanf( "%d", &alt_sinir); | |
scanf( "%d", &ust_sinir); | |
printf("%d ile %d arasindaki sayilarin toplami : ", alt_sinir, ust_sinir); | |
toplam = 0; |
This file contains 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> | |
int main(void) | |
{ | |
printf("C'de programlama yaparken "); | |
goto etiket1; | |
printf("goto deyiminden yararlanmak "); | |
printf("her ne kadar kolay olsa da, "); | |
etiket1: | |
printf("goto deyimini kullanmak "); |
This file contains 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> | |
int main(void) { | |
int n1, n2, n3; | |
n1 = 5; | |
n2 = 10; | |
n3 = n1 + n2; | |
printf("Toplam : %d\n", n3); | |
return 0; |