+ 6
khalid raji Because here 2 and 10 will be treat as integer. So output will be 0. If you want to get in double then just do typecast like double p = (double) 2 / 10;
12th Mar 2021, 5:52 PM
AÍąJ
AÍąJ - avatar