Recently, I shot a Casio 9850GB+ on a "different" aucion site for cheap. After playing with it for some _minutes_, I decided to put it up on eBay and asked myself, when was the last time I've been amazed by a Casio calculator. Well, it probably was when the fx-180p came out. Since then I wrote a lot of programs for it.
Today, I pulled a 3600p (one brother of the 180p) out of my drawer and found it still kept a program in memory that does something interesting. Took me quite some time to find the flow chart to this program. My question is, how would you solve the following problem on either the 180p or the 3600p (probably the programming model on the rare 190p is the same, so you can use it, too):
For any x >= 0, find the smallest y >= x that is the square of an integer.
E.g., for 0, the calculator should return 0. For 5, it should find 9
You likely have to use both P1 and P2.
Hope some of you are owning one of these wonderfull calculators and enjoy programming as mch as I do!