Azra
Bronze Üye
-
- Katılım
- 11 Mart 2014
-
- Mesajlar
- 3.834
-
- Tepkime puanı
- 13
-
- ForumSAL Yaşı:
- 12 yıl 7 ay
- Kıdem:
- Forumun Eskisi
-
- Yaş
- 35
Kod:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
main ()
{
int a,b,c;
printf("b sayisi giriniz:");scanf("%d",&b);
for (a=0;a<=100;a++)
{
c=pow(a,3)-pow(a,2);
if(c==b)
{
printf("a sayisi :%d",a);goto son;
}
}
printf("oyle bi sayi yoktur");
son : getch(); return 0;
}