さんげんえんざんし
/* ( ) ; ? 1: 2 ; : , , 。 */
class Demo12
{
public static void main(String[] args) {
/* int age = 26; String result = age>=18?" ":" "; System.out.println(result); */
int a = 1;
int b = 2;
int c = 3;
int result = a*b+c/2+2*(a+b)/c;
System.out.println("result="+result);
/* a*b+c/2+2*(a+b)/c; a*b+c/2+2*3/c 2+c/2+2*3/c 2+1+2*3/c 2+1+2 = 5 */
}
}