写一个c 程序 Write a C program

问题描述:

写一个c 程序 Write a C program
Write a C program that receives from the command line a student ID (SXXXXX) to be used as a reference.Then the program asks the user to introduce the information about the results obtained by a set of students in the final examination (maximum 100,however,the user may introduce a lower number of entries).The input format must be the following:
 NAME LASTNAME student_ID MARK
In the case the reference ID is introduced in the provided list,the program must compute how many students obtained lower and higher marks compared to the reference one.

#include<iostream>#define MAXSIZE 100using namespace std;struct Student{char name[20];char last_name[20];int ID;int mark;};class list{private:...