APPLY FOR ONLINE Zend Framework Certification

                    
                        <p><span style="background-color:rgb(255, 255, 255); color:rgb(51, 51, 51); font-family:noto serif,serif; font-size:19px">We need first store the current number to a variable. And then we will find the remainder for each division of other numbers with the stored number using a loop. And we will increment a counter if remainder found zero. After all the division operations with other numbers we will check the total counter for the remainder. If its value greater than two means , that number can be divisible by some other number instead of 1 and that number itself.If its value less than three means , its a primer number.</span></p>
                    
                


Comment


Back to Top