User Profile
Collapse
-
thank u banfa may i know u r name -
untill the value return from the foo() will be greater than i
the function will be called when condition check occur.Leave a comment:
-
read d value for x,n.check wheather if(x>0&&x<=2) then if it true then claculate
d logx in a for loop like given below
if(x>0&&x<=2) {
mul=1;logx=0;
for(i=1;i<=n;i+ +)
{
mul*=(x-1);
logx+=mul/(float)i;
}}Leave a comment:
-
What is the reason for this strange floating point result
float a=9.9;
if(a<9.9) printf("true");
else printf("false") ;
ans:true how is it possible?
No activity results to display
Show More
Leave a comment: