To get sum of two numbers in Java, perform the addition operation, divide it to “2”, and type cast it to “float” for calculating the average.
確定! 回上一頁