I Haz Codes

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Menu
Ten potatoes

One potato, two potatoes, three potatoes – four
Five potatoes, six potatoes, seven potatoes – more
Eight potatoes, nine potatoes, ten potatoes – all

The above is a nursery rhyme. Write a while loop which will display this rhyme. It can display each part on a new line and use numbers. e.g.

1 potato
2 potato
3 potato
4
5 potato
6 potato
7 potato
more
8 potato
9 potato
10 potato
all


You need to log in or create an account to submit code!

Comments are closed.

Information