{{$shortans->totalnumber}}/{{$shortans->total_question * $shortans->per_que_mark}}Total Marks
{{$shortans->correctanswer}}/{{$shortans->total_question}}
Total Correct Answer
{{$shortans->wrong}}/{{$shortans->total_question}}Total Wrong Answer
{{$shortans->total_question - $shortans->notattempt}}/{{$shortans->total_question}}Attempted
@php $totalnum=$shortans->totalnumber; $belowresult = App\SectionshortResult::where('topic_id',$topics->id)->where('totalnumber', '<=', $totalnum)->get();///beloaw number $belowstudent=$belowresult->count(); $result = App\SectionshortResult::where('topic_id',$topics->id)->orderBy('totalnumber', 'ASC')->get(); $totalstudent=$result->count(); $percentile=$belowstudent / $totalstudent * 100; @endphp
{{$percentile}}/100Percentile