This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| program Gaji_Tentara; | |
| {$mode objfpc}{$H+} | |
| uses | |
| {$IFDEF UNIX}{$IFDEF UseCThreads} | |
| cthreads, | |
| {$ENDIF}{$ENDIF} | |
| Classes, SysUtils, CustApp | |
| { you can add units after this }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Questions { | |
| public String mQuestions[] = { | |
| "Which is the first planet in the Solar system?", | |
| "Which is the second planet in the Solar system?", | |
| "Which is the third planet in the Solar system?", | |
| "Which is the fourth planet in the Solar system?", | |
| "Which is the fifth planet in the Solar system?", | |
| "Which is the sixth planet in the Solar system?", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.DialogInterface; | |
| import android.content.Intent; | |
| import android.support.v7.app.AlertDialog; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.TextView; | |
| import java.util.Random; |
NewerOlder