Contoh Program dasar QBasic Biodata,Deret nama,& Exit

Tinggalkan komentar

20/11/2010 oleh andrashootter007

CLS

PRINT “+PILIHAN+”

PRINT “1.BIODATA”

PRINT “2.DERET”

PRINT “3.EXIT”

1 INPUT “MASUKKAN PILIHAN:”,n

SELECT CASE n

CASE 1

INPUT “NAMA:”,a$

INPUT “NPM:”,b$

INPUT “KELAS:”,c$

GOTO 1

CASE 2

FOR I=1 TO 4

PRINT a$

NEXT I

GOTO 1

CASE 3

END SELECT

CLS

PRINT “+PILIHAN+”

PRINT “1.BIODATA”

PRINT “2.DERET”

PRINT “3.EXIT”

GOTO 1

END

 

( Langsung diketik aja seperti diatas di aplikasi Program Bahasa QBasic )

semoga bermanfaat….^_^

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

Kalender

November 2010
S S R K J S M
« Okt   Mei »
1234567
891011121314
15161718192021
22232425262728
2930  

Statistik

  • 1,341 Reading
%d blogger menyukai ini: