purpose: the purpose of the program is to get a elf name from picking a random number and your brith month
main__4_.cpp | |
File Size: | 1 kb |
File Type: | cpp |
sample run:
sh -c make -s
./main
Pick a number:
1) jolly
2) floppy
3) sparkle
4) holly
5) ginger
6) sprinkle
7) sweet
8) snowy
9) blinky
10) pepper
11) happy
12) stampy
Enter choice now: 7
Pick your birthday month:
1) gigglefits
2) Snickerdoodle
3) Merryclaus
4) chicken
5) nipper
6) Jinglebells
7) Cinnamonshorts
8) frostlight
9) sugarfingers
10) elfiefeet
11) icemittens
12) Tinseltoes
Enter choice now: 1
your elf name is sweet gigglefits
To repeat y-yes, n-no. Enter choice: y
Pick a number:
1) jolly
2) floppy
3) sparkle
4) holly
5) ginger
6) sprinkle
7) sweet
8) snowy
9) blinky
10) pepper
11) happy
12) stampy
Enter choice now:
sh -c make -s
./main
Pick a number:
1) jolly
2) floppy
3) sparkle
4) holly
5) ginger
6) sprinkle
7) sweet
8) snowy
9) blinky
10) pepper
11) happy
12) stampy
Enter choice now: 7
Pick your birthday month:
1) gigglefits
2) Snickerdoodle
3) Merryclaus
4) chicken
5) nipper
6) Jinglebells
7) Cinnamonshorts
8) frostlight
9) sugarfingers
10) elfiefeet
11) icemittens
12) Tinseltoes
Enter choice now: 1
your elf name is sweet gigglefits
To repeat y-yes, n-no. Enter choice: y
Pick a number:
1) jolly
2) floppy
3) sparkle
4) holly
5) ginger
6) sprinkle
7) sweet
8) snowy
9) blinky
10) pepper
11) happy
12) stampy
Enter choice now: