int fun(int a, int b) { int value = a * a + b * b; return value; } int i; i = fun(1, 2); // ここで関数を呼び出している print(i);