Search found 3 matches
- Wed Jun 24, 2009 2:30 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Calculate PHI
- Replies: 4
- Views: 7404
- Wed Jun 24, 2009 8:13 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Calculate PHI
- Replies: 4
- Views: 7404
- Tue Jun 23, 2009 9:38 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Calculate PHI
- Replies: 4
- Views: 7404
Calculate PHI
It's been nearly 20 years since I looked at Basic, and I thought this would be easy, but I was wrong. I was reading about a way to calculate PHI: Take any two numbers: x, y Add them together: z = x + y Add the previous number: a= z + y Continue until you have 20 numbers and divide the 20th by the 19...