-
-
Save mjlassila/9971753 to your computer and use it in GitHub Desktop.
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() { | |
int h,ib,th,hak,kl; | |
printf("hesap no gırın (çıkıs -1 ):\n"); | |
scanf("%d",&h); | |
while(h!=-1) { | |
printf("ilk bakiyeyi gir:\n"); | |
scanf("%d",&ib); | |
printf("toplam harcamayı gırınız:\n"); | |
scanf("%d",&th); | |
printf("hesaba aktarılan krediyi giriniz:\n"); | |
scanf("%d",&hak); | |
printf("kredi limitini giriniz:\n"); | |
scanf("%d",&kl); | |
printf("hesap no gırın (çıkıs -1 ):\n"); | |
scanf("%d",&h); | |
} | |
printf("hesap no:%d\n",h); | |
printf("kredi limiti: %d\n",kl); | |
printf("bakiye:%d\n",(ib + hak)); | |
if(kl < (ib + hak)) { | |
printf("lımıt asıldı!\n"); } | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment