At last!
You have a switch with cases for 1,2,3,4 and 5. You enter 70, which is not 1,2,3,4 or 5, so it executes the default. That's how switch is supposed to work.
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
gh.fuz
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
gh.fuz
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
jwenting
1,889
duckman
Team Colleague
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
scortip
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.