Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
project
#include <iostream> #include <cstring> using namespace std; int main (){ char x; int i,j; cout<<" >>>>> Student System <<<<< "<<endl<<endl; cout<<"Enter number of students : "; cin>>i; cout<<"Enter number of courses : "; cin>>j; char arn[i]; int arc[j]; double arg [j] , avg ; do { cout<<">>>>> Please choose a service : "<<endl; cout<<">>>>> A- Add a new student."<<endl; cout<<">>>>> B- Show grades for a certain course and average. "<<endl; cout<<">>>>> C- Show grade letter for all courses for certain student."<<endl; cout<<">>>>> D- Update a student grade."<<endl; cout<<">>>>> E- Delete a grade for a student."<<endl; cout<<">>>>> F- Exit."<<endl; cin>>x; switch (x){ case 'A' : case 'a' : cout<<"aaaaaaaaaaaaaaaaa"<<endl<<endl<<endl; break; case 'B' : case 'b' : cout<<"bbbbbbbbbbbbbbbbb"<<endl<<endl<<endl; break; case 'C' : case 'c' : cout<<"cccccccccccccccccccccccc"<<endl<<endl<<endl; break; case 'D' : case 'd' : cout<<"ddddddddddddddddd"<<endl<<endl<<endl; break; case'E': case 'e': cout<<"eeeeeeeeeeeeeeeee"<<endl<<endl<<endl; break; case 'F': case 'f': break; default: cout<<"enter letter from the menue "<<endl<<endl<<endl; } } while (x!='f'&& x!='F'); }
run
|
edit
|
history
|
help
0
Camel case
Zadanie Kolokwium_2011_z4
test if nullptr
newwork
div
Test 11(2020)
k-tree 431 C
Привет Linux
find duplicate in O(n)
2222aaaa