+ 1

How to make a student marks in switch statement

7th Jul 2017, 11:05 AM
Sajas Mohammed
Sajas Mohammed - avatar
4 Réponses
+ 14
int marks; cin>>marks; switch(marks){ //cases default }
7th Jul 2017, 12:04 PM
Frost
Frost - avatar
+ 1
enum class Mark { A, B, C }; Mark mark; switch (markDependendValue) { case a: { mark = Mark::A; break; } //... default: { // ... }
7th Jul 2017, 12:04 PM
soman
0
tnx ya
1st Aug 2017, 4:38 AM
Sajas Mohammed
Sajas Mohammed - avatar
0
brother how to create a shop menu and user loging using array function in c++. pls send me the coding
1st Aug 2017, 4:44 AM
Sajas Mohammed
Sajas Mohammed - avatar