Hey, I am actually working on something that I didn't know how to solve yet
I'll appreciate it if someone can help me out
What the program is :
1 - You enter a number as an ( Int ) - Int x
2 - the number goes into a loop, what happens there is it gets divided by i ( from i = 1 until i = x ), and puts it in a new Integer lets call it ( Sum ), and prints like this ( i , Sum ) it if its only a Natural number
3 - it only prints it if ( I ) is a prime number.
for example if X = 70
it prints
(1,70)
(2,35)
(5,14)
(7,10)
If x = 60
(1,60)
(2,30)
(3,20)
(5,12)
so it doesn't print both
(4,15) and (6,10)