If/then without curly braces?

If it is "if" without curly braces, it means the "if" is applicable only the current next line. i.e.

if(you == 0)
int i = 10;
int k = 20;

In the above code,

int i = 10;

will only belong to if loop.

int k=20;

will not belong to the if loop.

If you want both in your loop, then you need braces, In other words, If the "If" statements is more than one line you need to have braces.