Pa Help po di ko po magawa kung pano mag divide at makuha yung sagot sa loop.
like for example po 181 to 190 but reverse po ang loop. 190\189\188\187...\181 then maprint po yung answer.
#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
float n=190;
float c;
while(n>=181)
{
c=c/n;
printf("%f\n",n--);
}
printf("%f",c);
getch();
return 0;
}
like for example po 181 to 190 but reverse po ang loop. 190\189\188\187...\181 then maprint po yung answer.
#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
float n=190;
float c;
while(n>=181)
{
c=c/n;
printf("%f\n",n--);
}
printf("%f",c);
getch();
return 0;
}