Jump to content

Check Machin-like formulas: Difference between revisions

m
→‎{{header|REXX}}: simplified the DO loop code.
m (used italics.)
m (→‎{{header|REXX}}: simplified the DO loop code.)
Line 1,897:
 
do j=1 while @.j\=='' /*evaluate each "Machin─like" formulas.*/
interpret 'answer=' "(" @.j ')' /*where REXX does the heavy lifting. */
say right( word( 'bad OK', answer + 1), 3)": " @.j
end /*j*/
exit /*stick a fork in it, we're all done. */
Cookies help us deliver our services. By using our services, you agree to our use of cookies.