'Standard/unanimous variable for yes/no
I'm trying to write code more clearly and follow protocol or precedence with variable names. My question is if there is a decided upon variable name for a yes/no question.
For example in c++ it would look something like:
cout << "Yes or no";
cin >> YesOrNoVariable;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|