Merhabalar,belki zamanı geçmiş olabilir fakat diğer arkadaşlarımızın da yararlanması açısından,
Soru-1
#include
#include
#include

double kuphacimhesapla(double);//Fonksiyon prototipi

int main()
{
float kenar;
printf("Enter side of cube:");
scanf("%f",&kenar);//Klavyeden Girilen Değeri Kenar Olarak Al
kuphacimhesapla(kenar);//Kenarı fonksyiona yolla
system("pause");
return 0;
}

double kuphacimhesapla(double kenar)//Fonksiyon implementasyonu
{
double hacim = pow(kenar,3);
printf("Volume of cube is:%g\n",hacim);
}


Soru-2

#include
#include
#include

double hipotenushesapla(double,double);//Fonksiyon prototipi

int main()
{
float kenar1,kenar2;
printf("Enter first side of perpendicular triangle:");
scanf("%f",&kenar1);//Klavyeden girilen değeri 1.Kenar olarak al
printf("Enter second side of perpendicular triangle:");
scanf("%f",&kenar2);//Klavyeden girilen değeri 2.Kenar olarak al
hipotenushesapla(kenar1,kenar2);//Kenarları fonksiyona gönder
system("pause");
return 0;
}

double hipotenushesapla(double kenar1,double kenar2)
{
double hipotenus = sqrt(pow(kenar1,2)+pow(kenar2,2));//Hipotenüs hesabı
printf("Hypotenus of perpendicular triangle is:%g\n",hipotenus);
}


Soru-3
#include
#include
#include

double alanhesapla(double,double);//Fonksiyon prototipi

int main()
{
float kenar1,kenar2;
printf("Enter first side of perpendicular triangle:");
scanf("%f",&kenar1);//Klavyeden girilen değeri 1.Kenar olarak al
printf("Enter second side of perpendicular triangle:");
scanf("%f",&kenar2);//Klavyeden girilen değeri 2.Kenar olarak al
alanhesapla(kenar1,kenar2);//Kenarları fonksiyona gönder
system("pause");
return 0;
}

double alanhesapla(double kenar1,double kenar2)
{
double alan = (kenar1*kenar2)/2;//Alan hesabı
printf("Area of perpendicular triangle is:%g\n",alan);
}


Soru-4
#include
#include

double ushesapla(double,double);//Fonksiyon prototipi

int main()
{
float number,power;
printf("Enter number:");
scanf("%f",&number);//Klavyeden girilen değeri Sayı olarak al
printf("Enter power:");
scanf("%f",&power);//Klavyeden girilen değeri Sayı üssü olarak al
ushesapla(number,power);//Sayı ve üssü fonksiyona gönder
system("pause");
return 0;
}

double ushesapla(double number,double power)
{
double result=1;
for(int i=0;i result*=number;
printf("%g to the %g is:%g\n",number,power,result);
}


Soru-5

#include
#include
#include

double kokhesapla(double,double);//Fonksiyon prototipi

int main()
{
float number,root;
printf("Enter number:");
scanf("%f",&number);//Klavyeden girilen değeri Sayı olarak al
printf("Enter root:");
scanf("%f",&root);//Klavyeden girilen değeri kök katsayısı olarak al
kokhesapla(number,root);//Değerleri fonksiyona gönder
system("pause");
return 0;
}

double kokhesapla(double number,double root)
{
double result=pow(number,1/root);//Kök alma hesabı
printf("%g degree root of %g is:%g\n",root,number,result);
}


İyi Çalışmalar.