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 <ctype.h> | |
#include <string.h> | |
int main(){ | |
char ifade[] = " 232sdfjhf\n\t asd \0"; | |
char *p = ifade; | |
int sayac = 0; | |
int count = 0; | |
int gorun = 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
#include <stdio.h> | |
#include <string.h> | |
int main(){ | |
char dizi[] = " zaza dayi "; | |
char ek[110]; | |
char *p = dizi; | |
int j=0 ; | |
while(*p != '\0'){ | |
if (*p != ' '){ |
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<string.h> | |
void bol(int *p, int pivot) | |
{ | |
char a[50]; | |
char b[50]; | |
int i = 0,j = 0; | |
while( *p != '\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
#include <stdio.h> | |
#include <string.h> | |
int main(){ | |
char dizi[] = " zaza dayi 271"; | |
char ek[110]; | |
char *p = dizi; | |
int j=0 ; | |
while(*p != '\0'){ | |
if (*p != ' '){ |
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<string.h> | |
int main(void){ | |
char dizi2[]= "istambul"; | |
char *dizi5 = dizi2; | |
char dizi[8]; | |
char *p = dizi; | |
while(*dizi5 != '\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
#include<stdio.h> | |
#include<time.h> | |
float hesapla(int x) | |
{ | |
int kalan; | |
kalan = x % 4; | |
switch (kalan){ | |
case 1:return 2; | |
case 2:return -3; |
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/env python | |
#-*-coding:utf-8-*- | |
class Kesir: | |
def __init__(self,x,y): | |
self.pay = x | |
self.payda = y | |
def enBuyukbul(liste): | |
bolumler = [] |
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/env python | |
#-*-coding:utf-8-*- | |
from queue import Queue | |
noktalar = Queue() | |
def komsuBul(a,b): | |
durum = 0 | |
liste = [] | |
while durum < 4: | |
if durum== 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
cuhurbaskanı hepsinde cumhur Baskanoğlu | |
vali $1 den $4(dahil) vali_1 gersi vali_2 | |
kaymakam $1 de yok(--- yani) $2ve$3 te k_1_1 $4ve$5 te yok $6 ve $7 de k_2_2 geri kalanda yok | |
b şıkkı için kaymakam değerleri if bloklar içinde olduğundan ve blockların dışını kapsamadıklarından hata verir. | |
3. soruda | |
3.a = 1100 çıktısnı | |
3.b 1001 çıktınısını | |
3.c 1001 çıktısını |
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 <string.h> | |
int yuvarla(float f , int sira) | |
{ | |
int bi_onceki,secici;char a; | |
char d[100] ; | |
sprintf(d, "%f", f);// float'ı stringe çevirdik | |
int i= 0 ; | |
while( d[i] != '\0') |