I have been trying to get an integer value when dividing float by integer , but I could not come up with what I am looking for .
int a = 3 ;
float b = 15.50 ;
int result ;
result = int b/a
I have not programmed for long time , and I know this is basic and I should be aware of it , I really appreciate any help . Thank you