İlginiz için teşekkürler.Uğraştım kendimde yazdım
Kullanmak isteyenler ikisinden istediğini kullanabilir.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main() //First Selection
{
    float i,n,r,s,a,result,result4,toplam=0,carpim=1,allresult;
    printf("\nEnter first value N   :\t"); scanf("%f",&n);
       printf("Enter second value R  :\t"); scanf("%f",&r);
       printf("Enter third value S   :\t"); scanf("%f",&s);

        for(i=1;i<=s;i++)

{
	float result = sqrt(3*i*i*i+i+2);
	float result2 = result/(2*i);
	toplam+=result2;
}

    for(a=1;a<=r;a++)

{
	float result4 = (3*a*a*a +5) /(a*a) ;
    carpim*=result4;
}

	allresult= n*(carpim/toplam);
	printf("\n\tResult is %.3f\n\n\n\n",allresult);
return 0;
}

*
2.cisi biraz uzun oldu ama çalışıyor

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    int yil,month;
	printf("Lutfen 1-12 arasi deger giriniz: "); scanf("%d",&month);

    if(month==1)
    {
    printf("The season is Winter day count is 31.");
    }

    else if(month==2)
    {
     printf("The season is Winter day count is speacial.\n");
     	printf("Lutfen yil giriniz: "); scanf("%d",&yil);




     	if(yil%4==0)
           {
               printf("29 cekiyo panpa\n ");
            }
            else
            {
                printf("28 cekiyo\n");
            }



    }
    else if(month==3)
    {
     printf("The season is Spring day count is 31.\n\n");
    }
    else if(month==4)
    {
     printf("The season is Spring day count is 30.\n\n");
    }
    else if(month==5)
    {
     printf("The season is Spring day count is 31.\n\n");
    }
    else if(month==6)
    {
     printf("The season is Summer day count is 30.\n\n");
    }
    else if(month==7)
    {
     printf("The season is Summer day count is 31.\n\n");
    }
    else if(month==8)
    {
     printf("The season is Summer day count is 31.\n\n");
    }
    else if(month==9)
    {
     printf("The season is Autumn day count is 30.\n\n");
    }
    else if(month==10)
    {
     printf("The season is Autumn day count is 31.\n\n");
    }
    else if(month==11)
    {
     printf("The season is Autumn day count is 30.\n\n");
    }
    else if(month==12)
    {
     printf("The season is Winter day count is 31.\n\n");
    }

    else
    {
    printf("enter between 1-12\n\n");
    }
}