Skip to content
Permalink
fc9690b24b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (21 sloc) 539 Bytes
#include "database.h"
using namespace std;
int main(){
int Lect_id,stu_id;
string Lect_name,name,class1;
cout<< "enter lecturer name"<<endl;
cin>>Lect_name;
cout<< "enter lecturer id"<<endl;
cin>>Lect_id;
UploadLecturer(Lect_id, Lect_name);
printLecturers();
cout<< "enter student name"<<endl;
cin>>name;
cout<< "enter student id"<<endl;
cin>>stu_id;
cout<< "enter class code"<<endl;
cin>> class1;
UploadStudent(stu_id, name, class1);
printStudents();
return 1;
}