can anybody give me a link or anything that can help me understand switch loops a little bit more im a newbie to C++ so any help wud be highly appreciated
Exile_082
0
Newbie Poster
Recommended Answers
Jump to Postint n; // Assign n some value // switch (n) { case 0: cout << "n = 0"; break; case 3: cout << "n = 3"; break; case 7: cout << "n = 7"; default: cout << "n is not 0, 3, or 7." break; }
The …
All 2 Replies
Reply to this topic
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.