0% found this document useful (0 votes)
34 views3 pages

Listing Program

This program allows the user to search for student attendance information by name. The user is presented with a menu listing the names MUL, RENDY, and HAMID. After inputting a name, the program displays attendance information including the student's name, address, and class in a formatted output. If an invalid name is entered, the user is prompted to try again. The program flowchart shows the input, comparison, and output steps.

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 DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views3 pages

Listing Program

This program allows the user to search for student attendance information by name. The user is presented with a menu listing the names MUL, RENDY, and HAMID. After inputting a name, the program displays attendance information including the student's name, address, and class in a formatted output. If an invalid name is entered, the user is prompted to try again. The program flowchart shows the input, comparison, and output steps.

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 DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

LISTING PROGRAM

10 :
CLS
REM MEMBUAT PROGRAM ABSENSI
LOCATE 2, 20: PRINT ################################
LOCATE 3, 20: PRINT
MENU PILIHAN

LOCATE 4 ,20: PRINT 1.MUL


2.RENDY
3.HAMID
LOCATE 5, 20: PRINT ################################
PRINT
INPUT INGIN MENCARI SIAPA? ;NM$
IF NM$ = MUL THEN
CLS
COLOR 15
LOCATE 10, 25: PRINT @@@@@@@@@@@@@@
LOCATE 11, 25: PRINT NAMA=MUL
LOCATE 12, 25: PRINT ALAMAT=JL.WATU KEBO;
LOCATE 13, 25: PRINT KELAS=XI EI
LOCATE 14, 25: PRINT @@@@@@@@@@@@@@
END
ELSE IF NM$ = RENDY THEN
CLS
COLOR 15
LOCATE 10, 25: PRINT @@@@@@@@@@@@@@
LOCATE 11, 25: PRINT NAMA=RENDY
LOCATE 12, 25: PRINT ALAMAT=JL.SUMBERWADUNG;
LOCATE 13, 25: PRINT KELAS=XI EI
LOCATE 14, 25: PRINT @@@@@@@@@@@@@@
END
ELSEIF NM$ = HAMID THEN
CLS
COLOR 15
LOCATE 10, 25: PRINT @@@@@@@@@@@@@@
LOCATE 11, 25: PRINT NAMA=HAMID
LOCATE 12, 25: PRINT ALAMAT=JL.KUNTULAN;
LOCATE 13, 25: PRINT KELAS=XI EI
LOCATE 14, 25: PRINT @@@@@@@@@@@@@@
END
ELSE
LOCATE 20. 30: INPUTMAU COBA LAGI?(Y/T) Y$
IF Y$ = Y OR Y$ = y THEN GOTO 10
END IF
END

FLOWCHART

START

INPUT
MENU PILIHAN
1.MUL
2.RENDY
3.HAMID

1=?

NAMA=NM$MUL

2=?

NAMA=NM$RENDY

3=?

NAMA=NM$HAMID

CETAK HASIL

END

You might also like