Jump to content
Science Forums

English Language Statements With Encapsulated Logic Can Be Resolved Using Tools


petrushkagoogol

Recommended Posts

To analyze - If it is conditional that love is unconditional, is it truly unconditional.

 

Methodology -

A. Using mathematical operators (bitwise logical)

B. Using computer programming pseudo code.

 

Solution

A. If 1- conditional and 0- unconditional, the LHS resolves to -

1&&0 = 0 = false

The proposition fails.

 

B. Using C# language and pseudo code

 

string x = "conditional";

int ret = 0;

ret = getLogic(x);

console.writeline("output = " + ret); 

 

public int get Logic(string ipstr)

{

     int n =0;

     

     if (ipstr == "conditional")

     { 

          n=0;

     }

     else

     {

         n=1;

     }

     return n;

}

 

Output string : output = 0;

 

The proposition fails.

 

From A and B Love means the same thing which ever way you look at it..
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...