Forums Register Login

Something wrong with my if

+Pie Number of slices to send: Send
So as my first "own Program" to get started i am trying to write a calculator for the Phythagoras theoream but somtehing seems to be wrong with my calculating method ,it does not call the if`s even when they should be true.
I used "avorher" and so on to see whether i am given the specific Data and want it to get the remaining numbers then.However even if i give the method numbers which aren`t 0 it won`t call the if.Maybe i just get the syntax wrong ,i want it to return true if both statements given are false.
I use "done" or "fertig" to check whether it calls the if.

I would really appreciate some help

[list][/list]
+Pie Number of slices to send: Send
Oh ,i got it myself.
+Pie Number of slices to send: Send
This seems problematic here:


This might better reflect your intentions:


Viel Spaß!
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 654 times.
Similar Threads
please delete this post
extracting image binary data from file
extracting image binary data from file
toUpper, toLower for chars
I would like save the user inputs form JTextField ab,l m,n,o etc. how can I do this please help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:11:53.