0% found this document useful (0 votes)
237 views2 pages

Flowchart

The document is a flowchart listing program that displays student data including name, class, and address. It prompts the user to input a student name, then displays the corresponding information for that student. If the name is not recognized, it notifies the user that the name is not registered. The user can choose to try again by entering Y or N.

Uploaded by

Miftahul Arroyan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
237 views2 pages

Flowchart

The document is a flowchart listing program that displays student data including name, class, and address. It prompts the user to input a student name, then displays the corresponding information for that student. If the name is not recognized, it notifies the user that the name is not registered. The user can choose to try again by entering Y or N.

Uploaded by

Miftahul Arroyan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 2

FLOWCHART

LISTING PROGRAM

10 :
CLS
REM data siswa
LOCATE 2. 20: PRINT
LOCATE 4. 20: PRINT
LOCATE 5. 20: PRINT
LOCATE 6. 20: PRINT
LOCATE 7. 20: PRINT
LOCATE 9. 20: PRINT

@@@@@@@@@@@@@@@@@
NAMA SISWA

1. AGUS 2. ARIF 3. AJI

4. RINO
5. DIAN

6. NAMA TIDAK TERDAFTAR

@@@@@@@@@@@@@@@@@

PRINT
INPUT ANDA INGIN MENGETAHUI ALAMAT SIAPA? ; NM$
IF NM$ = AGUS OR NM$ =1 THEN
CLS
LOCATE 10, 30 : PRINT @@@@@@@@@@@@@@@@@
LOCATE 11, 30 : PRINT NAMA = AGUS

LOCATE 12, 30 : PRINT KELAS = EI

LOCATE 13, 30 : PRINT ALAMAT= JEMBER

LOCATE 14, 30 : PRINT @@@@@@@@@@@@@@@@@


PRINT
LOCATE 20 ,30 :INPUT MAU COBA LAGI? (Y/N)?,Y$
IF Y$ = Y OR Y$ =Y THEN GOTO 10

ELSEIF NM$ = ARIF OR NM$ =1 THEN


CLS
LOCATE 10, 30 : PRINT @@@@@@@@@@@@@@@@@
LOCATE 11, 30 : PRINT NAMA = ARIF

LOCATE 12, 30 : PRINT KELAS = EI

LOCATE 13, 30 : PRINT ALAMAT= JAJAG

LOCATE 14, 30 : PRINT @@@@@@@@@@@@@@@@@


PRINT
LOCATE 20 ,30 :INPUT MAU COBA LAGI? (Y/N)?,Y$
IF Y$ = Y OR Y$ =Y THEN GOTO 10
ELSEIF NM$ = AJI OR NM$ =1 THEN
CLS
LOCATE 10, 30 : PRINT @@@@@@@@@@@@@@@@@
LOCATE 11, 30 : PRINT NAMA = AJI

LOCATE 12, 30 : PRINT KELAS = EI

LOCATE 13, 30 : PRINT ALAMAT= CLURING

LOCATE 14, 30 : PRINT @@@@@@@@@@@@@@@@@


PRINT
LOCATE 20 ,30 :INPUT MAU COBA LAGI? (Y/N)?,Y$
IF Y$ = Y OR Y$ =Y THEN GOTO 10
ELSEIF NM$ = RINO OR NM$ =1 THEN
CLS
LOCATE 10, 30 : PRINT @@@@@@@@@@@@@@@@@
LOCATE 11, 30 : PRINT NAMA = RINO
LOCATE 12, 30 : PRINT KELAS = EI
LOCATE 13, 30 : PRINT ALAMAT= GENTENG
LOCATE 14, 30 : PRINT @@@@@@@@@@@@@@@@@
PRINT
LOCATE 20 ,30 :INPUT MAU COBA LAGI? (Y/N)?,Y$
IF Y$ = Y OR Y$ =Y THEN GOTO 10

ELSEIF NM$ = DIAN OR NM$ =1 THEN


CLS
LOCATE 10, 30 : PRINT @@@@@@@@@@@@@@@@@
LOCATE 11, 30 : PRINT NAMA = DIAN

LOCATE 12, 30 : PRINT KELAS = EI

LOCATE 13, 30 : PRINT ALAMAT= GLADAG

LOCATE 14, 30 : PRINT @@@@@@@@@@@@@@@@@


PRINT
LOCATE 20 ,30 :INPUT MAU COBA LAGI? (Y/N)?,Y$
IF Y$ = Y OR Y$ =Y THEN GOTO 10
ELSE
LOCATE 18, 30 PRINTNAMA TIDAK TERDAFTAR
LOCATE 20 ,30 :INPUT MAU COBA LAGI? (Y/N)?,Y$
IF Y$ = Y OR Y$ =Y THEN GOTO 10

You might also like