Double sqrt (double x);
float sqrtf(float x);
long double sqrtl(long double x);
You can declare m as double and k as double.
Then if(m%i==0) is used to forcibly convert m into plasticity.
I feel that Cicinho's answer is ok, k = double (sqrt ((double) m)); At this point, k is declared as double, which is easier.
Green tea is one of the main teas in China. Green tea is made from the new leaves or buds of tea trees, without fermentation, through the processes of enzyme fixation, shaping