Commit c9a2ef9b authored by ferhat tamer's avatar ferhat tamer 💬
Browse files

.

parent c2d20fd5
......@@ -32,14 +32,14 @@ cout<<"Konsol Rengi "<<Renk<<endl;
cout << "Programi sonlandirmak icin -1 degerini giriniz.\n\n";
cin>>secim;
//eer seim -1 ise dngy sonlandracaz.
//eer seim -1 ise dngy sonlandracaz.
if(secim == -1)
{
break;
}
HesapGecmisi = fopen("HesapGecmisi.txt","a+");
//Hesaplama gemiini kaydetmek iin dosya oluturduk.
//Hesaplama gemiini kaydetmek iin dosya oluturduk.
switch (secim){
......@@ -95,7 +95,7 @@ cout<<"Konsol Rengi "<<Renk<<endl;
}
cout << "Us Sonucu = " <<sonuc;
if (HesapGecmisi != NULL) {
fprintf(HesapGecmisi, "%.3f ^ %.3f = %f\n", sayi1, sayi2, sonuc);
fprintf(HesapGecmisi, "%.3f ^ %.3f = %d\n", sayi1, sayi2, sonuc);
}
sonuc=1;
break;
......@@ -113,7 +113,7 @@ cout<<"Konsol Rengi "<<Renk<<endl;
}
break;
case 7:
cout << "Faktriyelini Almak stediiniz Sayy Giriniz: ";
cout << "Faktriyelini Almak stediiniz Sayy Giriniz: ";
cin >> sayi1;
for(int i = 1; i <= sayi1; i++){
faktoriyel *= i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment