From 886a223d1716be7d7acbe0fefa96bf3cd59c81a4 Mon Sep 17 00:00:00 2001 From: Sriharshitha27 <47175790+Sriharshitha27@users.noreply.github.com> Date: Sat, 23 Mar 2019 12:30:26 +0530 Subject: [PATCH] fix#248 This commit will fix #248 --- src/lab/quiz.php | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src/lab/quiz.php b/src/lab/quiz.php index f9abd26d..f199384b 100644 --- a/src/lab/quiz.php +++ b/src/lab/quiz.php @@ -135,13 +135,11 @@  Total '.$no_ques.' questions -Time spent '; +Time spent '; printf("%02d:%02d",(int)($curr_time/60),($curr_time%60)); echo '  - - - '; +'; } else { $c_answers=0; @@ -204,6 +202,28 @@ ?> +