题目内容
为文件scores.csv添加一列,列名为GP,该列的值为数学成绩(权重50%)、物理成绩(权重25%)和化学成绩(权重25%)加权和$ cat scores.csvName,Maths,Physics,ChemistryBlue,67,46,99Lin,78,83,80Er,56,79,92Cy,97,98,95Ort,68,72,66Ith,100,100,100$ awk ____________________ scores.csvName,Maths,Physics,Chemistry,GPBlue,67,46,99,69.75Lin,78,83,80,79.75Er,56,79,92,70.75Cy,97,98,95,96.75Ort,68,72,66,68.5Ith,100,100,100,100
查看答案
搜索结果不匹配?点我反馈
更多问题