> percent=marks/1100*100;
You need to make the right hand side into a float expression before evaluating it (think of a cast).
Type: Posts; User: Salem
> percent=marks/1100*100;
You need to make the right hand side into a float expression before evaluating it (think of a cast).