- 5
An integer n is prime if its only factors are 1 and itself. Write a code segment for checking whether the value of an int n is
2 odpowiedzi
+ 4
Make your attempt and attach your code so we can help you!
+ 1
Just like Cristian wrote, You need to try and approach this problem by yourself first and if You get really stuck, we'll try to help you, but it cannot work on a basis of you stating the problem's parameters and us doing the coding for you. Let's respect each other's time.