#include pps/lrblib.tc #include pps/library.tc [ This program factors a number you enter and displays the product of factors. ] // 2/4/18 1/29,30/20 6/4/23 main [ pl"factor.tc - 6/4/23 - lrb";pl"" int f,s,p(3512),idx,j,pc,sw;char v p(0)=2;p(1)=3;p(2)=5;idx=2;pc=7 while 1 [ pl"Enter number to factor (<= 32767) : ";f=gn if f<=32767 break ] ps"Verbose mode (show prime generation) (y or Y) ? : " v=getchar;pl"";pl"" while idx<3511 [ // load primes sw=0 j=0 if pc>f break while p(j)