Hi All,

I am new to C language and am suppose to write a program that gives me an even integer with cube greater than 40000 and also is divisible by 7.

This is what i have...

```
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(){
float a,b,c,d,e;
a=pow(40000,1/3);
while(pow(40000,1/3)<=a){
a=b;
if(b % 2 == 0)
b=c;
if(b % 7 == 0)
c=d;
printf("%f\n",b);
else
{
a=a++;
}
}
}
```

I dont know what i am doing.

Please help. I dont want a program i just want to know what am i doing wrong and what loops and logics can be used to write it??