Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!elroy.jpl.nasa.gov!lll-winken!taco!news From: eagle@catt.ncsu.edu (Daniel L'Hommedieu) Newsgroups: comp.sys.handhelds Subject: HP48: GCF and LCD programs Message-ID: <1991Mar1.044209.22242@ncsu.edu> Date: 1 Mar 91 04:42:09 GMT Sender: news@ncsu.edu (USENET News System) Reply-To: eagle@catt.ncsu.edu (Daniel L'Hommedieu) Organization: NCSU CATT Program Lines: 34 I'm having trouble translating a program to RPN. It's a very useful program that I used in my Casio fx-4000P. It calculates the greatest common factor between two numbers. Another program I had but cannot currently find calculated the prime factors of a number (for example, 250=2*5*5*5). For those of you who are ambitious and would like to help me translate the GCF program into RPN, here it is in some pseudocode form: input a;a=abs(a); input b;b=abs(b); if (a