Post Reply 
HP 35s - How to write a for loop
02-11-2020, 05:35 PM
Post: #1
HP 35s - How to write a for loop
Hi!

I need to create a program to compute Euler's totient function but
i'm stuck in a for loop.
I have to write something like that:
Code:

for(i = 1; i < n; i++)
  // do stuff

I'm aware of the ISG operator and the loop-control number (i.e.
Code:
ccccccc.fffii
)
but i don't known how to integrate it with the i < n part. Is it possible? If so, can someone give
me an example of a for loop?

Thanks Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 35s - How to write a for loop - bxzj - 02-11-2020 05:35 PM



User(s) browsing this thread: 1 Guest(s)