Pseudocode Kartu
Perpustakaan
Header
Algoritma Library_Card
{membuat sistem Library Card}
Deklarasi
name; id; gender; age; address; faculty; study; title; id_of_book;
date; = string
Deskripsi
Begin
Writeln (“Super High Technology Library”)
Writeln (“University of Diponegoro”)
Writeln ()
Writeln (“------------------------------------------”)
Writeln (“Register, please”)
Writeln (“Masukkan Nama”)
Read (nama)
Writeln (“Masukkan ID”)
Read (id)
Writeln (“Masukkan Gender”)
Read (gender)
Writeln (“Masukkan Age”)
Read (age)
Writeln (“Masukkan Address”)
Read (adress)
Writeln (“Masukkan Faculty”)
Read (faculty)
Writeln (“Masukkan Study”)
Read (study)
Writeln ("Name : " + name.toUpperCase());
Writeln ("ID : " + name.codePointAt(0)
+address.codePointAt(1) );
Writeln ("Gender : " + gender.substring(0,1).toUpperCase()
);
Writeln ("Age : " + age.toUpperCase() );
Writeln ("Address : " + address.toUpperCase() );
Writeln ("Faculty : " + faculty.toUpperCase() );
Writeln ("Study : " +
study.toUpperCase() );
Writeln (“----------------------------------------”)
Writeln (“Super High Technology Library”)
Writeln (“University of Diponegoro”)
Writeln ()
Writeln (“----------------------------------------”)
Writeln (“----STATUS OF BOOK---”)
Writeln ()
Writeln (“Masukkan Title”)
Read (title)
Writeln (“Masukkan ID of Book”)
Read (id_of_book)
Writeln (“Masukkan Date”)
Read (date)
Writeln (“----------------------------------------”)
Writeln (“Super High Technology Library”)
Writeln (“University of Diponegoro”)
Writeln ()
Writeln (“----------------------------------------”)
Writeln (“----STATUS OF BOOK----”)
Writeln (“Title :” + title.
toUpperCase())
Writeln (“ID of Book :” +
id_of_book. toUpperCase())
Writeln (“Date :” + date.
toUpperCase())
Writeln (“Your data has been saved successfully! Thanks” + name.
toUpperCase() + “with ID” + id. toUpperCase())
Writeln (“Please, return the book on 3 days after today, Thankyou ;)”)
Writeln (“Head of Library”)
Writeln ()
Writeln ()
Writeln (“Mrs. Intifadah”)
end
Tidak ada komentar:
Posting Komentar