Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i want this function to not except characters but each time i enter it, it gives me a run time erro how can i do
i want this function to not except characters but each time i enter it, it gives me a run time erro
string answery coutes" In nwould You Like To perform another Procedure? ? cinss answers if(Canswer"yes")|(answer"Yes")(answen"YES") return true; 3. coutes "It It NOTE I"Write Either [Yes P] To continue oR [No e] To Stopl" return confirm() P how can i do it such that the function only ecepts yes no 1 and 0, but not any sort of character
please help me ( using c++)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started