Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

What is the following 'stop' condition for the following 'script'?

Update:

//

// A null 'process/function/script'

// returning null

// taking a null pointer, to signify

// many 'nulls' can be passed to it as parameters.

//

// WHAT DO I DO

//

// Is a process that 'stops', only when

// 'I' know what to do.

//

Update 2:

null null WHAT_DO_I_DO

......................(

.......................null*

......................)

{

....// Signifies if 'I' DO KNOW WHAT TO DO.

....var boolean DO_I_KNOW = false;

....

....// While 'I' DO NOT KNOW WHAT TO DO.

....while ( ! DO_I_KNOW )

....{

........// if 'I' DO KNOW WHAT TO DO.

........if ( DO_I_KNOW )

........{

............break;

........}

........else

Update 3:

........else

........{

............// if 'I' DO KNOW WHAT TO DO.

............if ( DO_I_KNOW )

............{

................break;

............}

............else

............{

................// if 'I' DO NOT KNOW WHAT TO DO.

................if ( ! DO_I_KNOW )

................{

....................// if 'I' DO KNOW WHAT TO DO.

Update 4:

....................// if 'I' DO KNOW WHAT TO DO.

....................if ( DO_I_KNOW )

....................{

........................break;

....................}

................}

................// else ( if 'I' DO KNOW WHAT TO DO ).

................// else ( if 'I' DO KNOW WHAT TO DO ).

................else

................{

....................break;

................}

............}

........}

....}

}

Update 5:

I have tried to make code from the following problem. Please help in any way possible.

==> I Do not know what to do.

==> So What do you do when you do not know what to do?

==> I Do not know what to do when I do not know what to do.

==> So What do you do when you do not know what to do about what to do?

==> The answer here.

Or else, the 'about' whould continue the loop within the loop, infinitely.

Please help. I'm bored. It is not an exam question or that.

Update 6:

I have done some modifications. Can anyone help out?

What kind of system us this I need to answer the question, or find out. I would like to be able to simulate it. Please.

define string String_Question

{

....==> COMMENT: Implements string (as a question) here.

}

Update 7:

define string Print_String_Question

{

....==> COMMENT: Implements printing a string or strings (as a question)

}

define string Database_String_Question

{

....==> COMMENT: Implements a Database of string or strings (as a question or

questions) here.

}

define string Get_String_Question

{

....==> COMMENT: Implements getting a string or strings (as a question or

questions) [[from the user]] here.

}

Update 8:

define String_Question String_Question_Start = null;

define constant String_Question STRING_QUESTION_GENERIC_aNSWER =

........"What do you do when ";

==>

==> COMMENT:

==> This is the main function

==> Returns a String_Question

==> When asked a String_Question

==>

==>

define String_Question Answer_String_Question(String_Question

String_Question_Paramater)

{

....

....return new String_Question (STRING_QUESTION_GENERIC_aNSWER [[add string]]

........String_Question_Parameter);

}

Update 9:

Then start....

"What is your 'problem'?

==> User 1 inputs.

==> I Do not know what to do.

==> User 1 get response.

==> So what do you do when You do not know what to do?

==> User 1 inputs.

==> I do not know what do you do when You do not know what to do.

==> User 1 gets reponse.

==> So what do you do when You do not know what do you do when You do not know

Update 10:

what to do?

==> User 1 inputs.

==> I do not know what to do when I do not know what do you do when You do not

know what to do.

==> User 1 gets response.

==> So what do you do when You do not know what to do when You do not know what

to do when You do not know what to do?

==> What can User 1 input to break this cycle / loop, etc?

1 Answer

Relevance
Still have questions? Get your answers by asking now.