this program will output the series of number IF among the random series there is a number larger than the consecutive number.
BUT, what happens if the numbers will be randomly order in the right...
Type: Posts; User: kobi1988
this program will output the series of number IF among the random series there is a number larger than the consecutive number.
BUT, what happens if the numbers will be randomly order in the right...
ummmm....
can you give me an example to simplify it...?
i began studying this just yesterday... :/
the purpose of the code is to ask the user to input a string.
if there is an "a" in it - the place of it in the string will be shown. if not - there will be a line "no a in the string".
the...
ohhhhhh!!!!
i got it now...!
the nested "if" keep running before it goes another round of the "main if"...
thanks! :)
But isn't the 'j' symbolize the number of repetitions and not the number of the spaces...?
if i=4 and j=3 isn't it should print only one space as i ordered it?
Hello everyone,
I started studying Java today and couldn't understand why this code would give the result bellow it:
INPUT:
public class SimpleLoop {
public static void...