某试卷由26个问题组成,答对一题得8分,答错一题扣5分。输入考生答对的题目数,并输出该考生的考试成绩 #include <iostream> using namespace std; double score(int a); int main() { int a; cout <<