edited by
960 views
0 0 votes
I found it by doing some calculations on Google calculator.
What I am interested in is , by word "handling" i dont want to handle error but want to produce a valid output.
So how can i implement it in my code so that even if its invalid or not defined in earlier stage but its valid overall.
 
e.g 
 
As per given image, 1st execution is "not defined" but i just want to remember that step and later when it becomes a valid arithmetic i should give an output as zero.
Its mathematically correct expression hence I wanted to do it on my computer.
Can anybody help me to do so ?

Dont be offended , its just asked under curiosity (:

( I asked on SO  but they downvoted it.. :/ May be they dontt care about curiosity or its a silly thought :p but still i aske :v )

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
0 0 answers
506
506 views
Shashankesh Upadhyay asked Jan 28, 2019
506 views
Can a grammar be both right recursive and ambiguous ? How?
0 0 votes
0 0 answers
378
378 views
nepobose asked Oct 31, 2018
378 views
Is Pumping Lemma REL but not REC language?
2 2 votes
1 1 answer
1.4k
1.4k views
Shivam Chauhan asked Sep 13, 2016
1,417 views
Am I Correct? Suppose we have 3-bit sequence number and acknowlwdgements are piggybacked. Then channel utilization isA. Stop and Wait =Transmission ...
0 0 votes
1 1 answer
290
290 views
SATWIK_Shivam asked Jun 28, 2025
290 views
If p is an odd positive integer and q is an even positive integer, which of the following is even?1)p2 + q2 + pq2)(p+q)(p-q)3)p+q-pq4)q2+pqhere q2 means q square and p2 m...