
Can someone pls help me with this output?
so 1st we're defining integer a=400 then comes integer x, x=1, x<=15 which is true.. then x+=8 means ur adding 8 to x then a-=4 means ur subtracting 4 from a then ur printing the output
note: IDK JAVA BUT THEN IT SEEMS SSIMILAR TO YTHON AND C SO I HAVE TRIED, NOT SURE IF ITS CORRECT
so 1st we're defining integer a=400 then comes integer x, x=1, x<=15 which is true.. then x+=8 means ur adding 8 to x then a-=4 means ur subtracting 4 from a then ur printing the output
note: IDK JAVA BUT THEN IT SEEMS SSIMILAR TO YTHON AND C SO I HAVE TRIED, NOT SURE IF ITS CORRECT
I know that, but what about the print statement, what to write there? Should I write a + "a " or the a value?
so 1st we're defining integer a=400 then comes integer x, x=1, x<=15 which is true.. then x+=8 means ur adding 8 to x then a-=4 means ur subtracting 4 from a then ur printing the output
note: IDK JAVA BUT THEN IT SEEMS SSIMILAR TO YTHON AND C SO I HAVE TRIED, NOT SURE IF ITS CORRECT
I know that, but what about the print statement, what to write there? Should I write a + "a " or the a value?
im pretty sure if they havent given anything then u dont consider it and just write a value
note: idk java so again im not sure if my answer is correct
this is similar to python. So I am treating this like python, here is MY question: "what is x on line 2?"