#include #include int main() { double a, b, t; printf("请输入平时成绩: ")
; scanf("%lf", &a)
; scanf("%lf", &b); b = a*0.3 + b*0.7; printf("总评成绩为: %g
", round(b))
平时成绩的占比,麻烦给回复
#include #include int main() { double a, b, t; printf("请输入平时成绩: ")
; scanf("%lf", &a)
; scanf("%lf", &b); b = a*0.3 + b*0.7; printf("总评成绩为: %g
", round(b))