Write a program in Java to calculate the average mark obtained and finally ... nextInt(); double avg = (p + c + b) / 3.0; long roundAvg = Math.round(avg); ...
確定! 回上一頁