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 <conio.h> | |
int main() | |
{ | |
int i,n,sonuc ; | |
// degişkenler tanımlanıyor. | |
// integer'e karşılık prinf ve scanf'te %d kullanırlır. | |
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
// yarı çapı dışardan girilen bir dairenin çevresini ve alanını bulan program. | |
#include <stdio.h> | |
#include <conio.h> | |
#define pi 3.14 | |
int main() | |
{ |
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
// Dışarıdan girilen bir n tam sayısına kadar olan tek tam sayiların toplamını | |
// bulan program. | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ |
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
// Dışarıdan girilen bir n tam sayısına kadar olan tek tam sayiların toplamını | |
// bulan program. | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ |
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
//dışardan girilen n sayısına kadar olan sayıların karelerinin toplamını hesaplayan program | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ | |
int n,i,toplam; | |
printf (" Bir sayi giriniz : " ); |
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
//dışardan girilen 3 sayının en büyüğünü bulan program | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ | |
int x,y,z,enb; | |
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
//dışardan girilen n adet sayının aritmetik sayının aritmetik ortalamasını bulan program | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ | |
int i,sayi; | |
float n,toplam,ortalama; | |
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
//çarpma işlemini kullanmadan iki sayının çarpımını bulan program | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ | |
// while(1) // sonsuz döngü | |
// %g virgülden sonraki sıfırları göstermiyor | |
int a,b,s,i; |
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
//1'den 999'a kadar olan tam sayılar içeresinden basamaklarının küp değeri toplamı kendisine eşit olan program | |
-------------------- HATALI OLAN KODLAR ------------------------------- | |
/* | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ | |
// while(1) // sonsuz döngü |
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 <conio.h> | |
int main() | |
{ | |
int sayi,toplam,k,ilksayi; | |
printf("Sayiyi giriniz..:"); | |
scanf("%d",&sayi); | |
toplam=0; | |
ilksayi=sayi; | |
while (sayi>0) |
OlderNewer