Code Snippets C

//Declaration: float remquof(float a, float b, int *quo);
double remquo(double a, double b, int *quo);
long double remquol(long double a, long double b, int *quo);
#include
#include
int main(void)
{
double j = 20.0, k = 0.0;
int i;
do {
printf("%f\n", remquo (j, k+1,&i));
printf("%d",i);
k++;
} while(k<11.0);
return 0;
}