You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Exercise: Outputting a table using the `print` statement

Author: y18e19Executions: 1038

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
Creating tables with `print` and `println`
rmax
cmax
On the "Custom Formula" page, columns beyond the number specified in the custom formula editor will not be displayed (maximum of 20 columns).
In "Free Calculation," you can display more columns (I haven’t checked the upper limit, but I was able to display 10,000 columns).

for (r=1; r <= rmax; r=r+1) {
for (c=1; c <= cmax; c=c+1) {
print(100*r+c);
}
println();
}

No customer feedback for this calculation yet.