Forums Register Login

Applet code for table?

+Pie Number of slices to send: Send
I need to write an applet that calculates the squares and cubes of the numbers from 0-10 and draws the resulting values in a table format as follows:
number square cube
0 0 0
1 1 1
2 4 8
3 9 27
4 16 64
5 25 125
6 36 216
7 49 343
8 64 512
9 81 729
10 100 1000
Im really lost on this one???
+Pie Number of slices to send: Send
Maybe this gives you some ideas:
please buy my thing and then I'll have more money:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1342 times.
Similar Threads
Multiplication Table
class 3
Binary Representation of integers
Bits Conversion
A Hint at Times is good?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:22:20.