Hi, I have just started C# and I have created a console application that ensures that the option 'Calculate and display (c)' is not executed if the student details and results have not been entered. I am unsure how to validate a non-entry.
ImanOcean
0
Newbie Poster
Recommended Answers
Jump to PostThis can be some kind of a leading way for you. There is plenty of way how to implement your issue, but one of my best and very efficient is to use while loop.
While some value (usually is a boolean) is not the contrary of the pre-set one, 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.