Can I Rand my Switch????

Can I randomize my switch:

Any help would be great.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
 switch(number)
                {
                    case 1:
                        cout << "Rockabye-Babye";
                        break;
                    case 2:
                        cout << "Twinkle-Twinkle Little Star";
                        break;
                    case 3:
                        cout << "Hush Little Baby Don't say a word";
                        break;
                    case 4:
                        cout << "Vannilla Ice Ice Baby";
                        break;
Thanks maeriden, that worked!!!
Topic archived. No new replies allowed.