ok. I put this together but I am getting an error
program Factors
implicit none
real::n, i, x
integer::f, c=20
print*, "enter a positive integer:"
read*, n
i=2
do while (n>1)
if (mod(n, i)==0) then
i=i+1
n=n/i
else
write(*, 100) i, "**", c
100 format(I2, A2...