41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
write some cpp functions:
|
|
|
|
```
|
|
Add marks record
|
|
Delete marks record
|
|
Edit marks record
|
|
Print current marks record in system
|
|
|
|
press E to exit
|
|
```
|
|
|
|
if the user entered 1, the run `functionAdd` so on and forth
|
|
|
|
```cpp
|
|
#include <iostream>
|
|
|
|
void print_menu() {
|
|
std::cout << "Mark Record System\n";
|
|
std::cout << "-----------------\n";
|
|
std::cout << "1. Add marks record\n";
|
|
std::cout << "2. Delete marks record\n";
|
|
std::cout << "3. Edit marks record\n";
|
|
std::cout << "4. Print current marks record in system\n";
|
|
std::cout << "E. Exit\n";
|
|
std::cout << "Enter your choice: ";
|
|
}
|
|
```
|
|
|
|
write a cpp function that print the above menu
|
|
|
|
The system can calculates the overall grade of each student.
|
|
User can add, edit and delete the record to the system manually or upload a file.
|
|
The system should have a counter to check how many records are update on each time.
|
|
User can generate report and the report should be able to download.
|
|
|
|
using cpp, write a console program that accepts user input name, maths marks, chinese marks, english marks and grade,
|
|
print them out when the user input done
|
|
|
|
|
|
|