Arrays program
purpose: to learn arrays and how to number things
program code replit.com/@JoelKasthurirat/Joelarrays#main.cpp
joelarrays.zip |
Sample code
Pick the number of your birthday month:
1) Jolly
2) Jingle
3) Tinker
4) Holly
5) Ginger jelly
6) Sprinkle sparkle
7) Frosty
8) Snowy
9) Blinky
10) Twinkle
11) Merry
12) deadly
Enter choice now: 1
Pick a number that equal the letters in your last name:
1) Gigglefits
2) Jingledraws
3) Winterbells
4) ElfPants
5) Snickerdoodle
6) Jinglebells
7) Merryclause
8) Cinnamonshorts
9) Sugarplum
10) Jollydraws
11) Snowmannose
12) Berrybottom
13) Buttersnow
14) Figgybum
15) Tipsycakes
Enter choice now: 6
your elf name is Jolly Jinglebells
To repeat y-yes, n-no. Enter choice: n
Goodbye.
1) Jolly
2) Jingle
3) Tinker
4) Holly
5) Ginger jelly
6) Sprinkle sparkle
7) Frosty
8) Snowy
9) Blinky
10) Twinkle
11) Merry
12) deadly
Enter choice now: 1
Pick a number that equal the letters in your last name:
1) Gigglefits
2) Jingledraws
3) Winterbells
4) ElfPants
5) Snickerdoodle
6) Jinglebells
7) Merryclause
8) Cinnamonshorts
9) Sugarplum
10) Jollydraws
11) Snowmannose
12) Berrybottom
13) Buttersnow
14) Figgybum
15) Tipsycakes
Enter choice now: 6
your elf name is Jolly Jinglebells
To repeat y-yes, n-no. Enter choice: n
Goodbye.