Preview:
1) Whileloop the condition done before the statement while, Do while loop the condition is done after the statement.
2) No, it can not be changed.
3) Because the complier store the inputed integer or character in the variable.
4) 1 0 -1
5) Because 
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter