0
Can someone please help me on nested if
question : 10 marks is given to students attends 10 sessions. if students attends between 9-5 sessions 5 mark is given. if below 5 sessions 0 mark given. can someone write it on c++????
2 Antworten
+ 6
if (session >= 5) {
marks = 5;
if (session >= 10) {
marks = 10;
}
}
0
thank you very much