You need to sign in to do that
Don't have an account?
pratiksha tamrakar
Apex Code to find the number whether it is Prime or not
Hi ,
I am new to salesforce and trying some basic code. I was trying to check the number whether the number is prime or not , But not getting idea of code . Can anyone please help me.
I am new to salesforce and trying some basic code. I was trying to check the number whether the number is prime or not , But not getting idea of code . Can anyone please help me.
If you want to check if integer number is prime, try below
Reference:https://salesforce.stackexchange.com/questions/180681/kindly-check-is-this-code-is-fine/180688
Also, see comments posted on https://developer.salesforce.com/forums/?id=9060G0000005mSEQAY
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you