+ 1
How to make a student marks in switch statement
4 Answers
+ 14
int marks;
cin>>marks;
switch(marks){
//cases
default
}
+ 1
enum class Mark
{
A, B, C
};
Mark mark;
switch (markDependendValue)
{
case a:
{
mark = Mark::A;
break;
}
//...
default:
{
// ...
}
0
tnx ya
0
brother how to create a shop menu and user loging
using array function in c++. pls send me the coding