I have to make an algorithm that descompose the number in prime factors.
I did it but it`s not good because it shows "*" at the end and that`s the problem. My idea was to make a verification so if it is the last number it doesn`t show "*" at the end or to make a new viriable " which can help in verification.