Square root basic approach

please tell me that if a no is given already and I have to find he exact divisible how can I found it that like 2%6=0.333333 something how can I do that help me out please

so if u have 2 numbers a and b and u have to find if b divides a or not just check
a%b == 0… if its true then b divides a fully else not…

n square root we can give the inc value and divide it but if the no already giving like 2 and I have to divide it by 6 it willgie 0.3333 I want to find it how can I do that what’s the method for that

what are u saying… cant understand ur doubt… pls explain properly…

if 2 is given I had. to divide it by 6 and the is 0.3333 how can I find that the accurate ans how

by inc method I understand but in q if 2 is already given and I had to divide it by 6 and find the and 0.3333 how can I do that

what accurate u need… just instead of int make it float or double ie… double x = 2/6;

2%6=0.3333 how can I find it this is what I am saying without using inc

okay thanks for the help I get that thank you so much

ok… cool then…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

if I divide 1%6=0.166666667 and I just want to find only till 6 precision digit don’t want to round it at last ans 0.166666 then how can I do that please help me

u can use set precision in that case… google it out… if u want to learn more about that

please tell me if want to find the ans till that only what can I do that for don’t want to round it of at last

I had used set precision but I got 0.166667 but I want 0.166666 how can I find it out that thing I had used set precision but it also round it I don’t want to round the ans at last

I just don’t want to round of at last how can I do that


refer this

I don’t want to round of at last

its rounding of and printing last 6 I don’t want to round that of what ever will be there give the ans like that only don’t round it of at last

i dont know… google it out…