🔒 Closed Pa help po.

Status
Not open for further replies.

Hesoyam-

Fanatic
void finishQuiz(){
String passStatus = "";
if(score > totalQuestion*0.60){
passStatus = "Passed";
}else{
passStatus = "Failed";
}

new AlertDialog.Builder(this)
.setTitle(passStatus)
.setMessage("Score is "+ score+" out of "+ totalQuestion)
.setPositiveButton("Restart",(dialogInterface, i) -> restartQuiz() )
.setCancelable(false)
.show();


}

TANONG: PAANO KO PO KAYA MAGAGAWANG GANITO YUNG RESULT?

1665751528634.webp
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 201
    Views
  • 2
    Participants
Last reply from:
Hesoyam-

Trending Topics

Online now

Members online
1,152
Guests online
1,074
Total visitors
2,226

Forum statistics

Threads
2,274,699
Posts
28,957,709
Members
1,233,404
Latest member
Carameltzy
Back
Top