AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Contoh program stack pascal11/19/2022 Printf( “value UAS : %dn”, mhs2. Printf( “Value UTS : %dn”, mhs2.NilaiUTS) Printf( “NilaiQuiz : %in”, mhs2.NilaiQuiz) If(mhs1.NilaiAkhir>= 00) mhs1.index = ‘E’ If(mhs1.NilaiAkhir>= 20) mhs1.index = ‘D’ else If(mhs1.NilaiAkhir>= 40) mhs1.index = ‘C‘ else If(mhs1.NilaiAkhir>= 60) mhs1.index = ‘B’ else in practice using the software stack provided by the tlverse ecosystem. Contoh 9: Contoh program Pascal If Bercabang program NeastedIf uses crt var A,B,C : integer begin clrscr writeln (‘Masukkan tiga angka dengan spasi’) readln(A, B, C) if A > B then begin if A > C then writeln (A, ‘ adalah nilai terbesar’) else writeln (C, ‘ adalah nilai terbesar’) end else if B > C then. If(mhs1.NilaiAkhir>= 80) mhs1.index = ‘A’ else It is based on R, a statistical programming language that has powerful data. Mhs1.NilaiAkhir = 0.2*MhslkNilaiQuiz 0.3*mhs1.NilaiUTS 0.5*mhs1.NilaiUAS Printf( “value UAS : “) scanf( “%d”,
0 Comments
Read More
Leave a Reply. |