#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
//Complete the following function.
int marks_summation(int* marks, int number_of_students, char gender)
{
int sum = 0; //定义求和,整数型,初始化0
if(gender == 'b'){
//判断:如果性别是b&#
HackerRank - C语言11 Students Marks Sum 答案参考
最新推荐文章于 2021-10-13 12:13:17 发布