-- nayeret43 wrote: > Hi, I tried to run this program: > > #include <iostream.h> > main () > > { > int x=25; > float result; > > if (x!=0) > { > resul=1000/x;
You forgot the last t of result. > cout << result; > > } > > } > The code above does not follow the standard and the compiler may claim about other problems.