Java Programming. If x=0 and x=x+1, what is the output?
If `x=0` then `x=x+1` becomes `x=0+1` becomes `x=1`
But what is the output for continuous program? Like if I want to calculate the number of members in a room
@wio
@dan815
@ganeshie8
@Koikkara
@Harsha19111999 @wio Gave You the hint needed to find your answer...!!
here is the file. compile it and run. remember, everything is case sensitive. English not english Morse not morse
Can you compile it successfully?
yes.
Because it is showing me 3 errors
i know why! u need the input.class file that i have here download and put in same folder as the other file
No I can't compile it.
@Harsha19111999 hm... it works for me though
@Harsha19111999 heres the class file of morse code by the way morsecodetest2 is same as morsecode so its not because of that
@Harsha19111999 look go here http://screencast-o-matic.com/watch/c21qbpnCvU its me!!!!
@Harsha19111999 come on where are u can u help me look at my video
Yes I saw it. I will get back to you tomorrow. Don't worry
Good night @DavidUsa
I have to sleep. Its 11:30 PM here
ok bye. @WIO PLEASE HELP ME Yay ok harsha good night
:)
Do not mix questions together like this. It is considered spamming another question. For the original question: Java Programming. If x=0 and x=x+1, what is the output? It is going to depend on how it is coded. Because you used the word if, which has a very specific meaning in code, then that psudocode could result in whatever the FALSE result of the if statement is.
Join our real-time social learning platform and learn together with your friends!