runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15
Can you plz help me with this error
ok thanks. Can you clear one more doubt that as its given in question β3.If ch is βXβ or βxβ, the program terminates.β. then why are we using "and "operator and why not βorβ
@manav_sharma because both of them are the terminating conditions.
here you have written the conditon i.e while(ch!=βxβ || ch!=βXβ) this means if you have ecountered x but in this then the other condition will become true and in or if any condition is true then the result will evaluate as TRUE only.
so this do while loop will never end.
I hope Iβve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.