Algo Hari Ini

  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Algo Hari Ini as PDF for free.

More details

  • Words: 152
  • Pages: 4
Larik Indeks

Info No 1 2 3

Nama 1 Ydi 4 Hade 2 Aman

Alamat Hadir uts Inten 2 8 Inten 12 Inten 3 9

uas 99 66 88

tugas 70 70 45

na 80 920.33 90 998 90 864

Program Buble; (i.s (f.s kamus type info record No: Integer Nama : String Alamat : String hadir : integer uts : real uas: real tugas: real na : rael type

larik=Array [1….100] of Info

(* Algoritma Entry*) Program entry(i/l: Larik, N: integer) kamus i: integer Algoritma Entry for i:= 1 to N input L[i].No input L[i].Nama input L[i].alamat input L[i].hadir input L[i].uts input L[i].uas input L[i].tugas L[i].NA := (L[i].hadir/12)*100*0.05)+L[i].uts*0.3+L[i].Uas*0.3+L[i].Tugas*0.35 end for (*Algoritma Sorting *) program sorting(i/o L: Larik, i/n: integer) (i.s (f.s Kamus algoritma for I:= 1 to n-1 for j:= n downto l+i

if (L[i].no < L[i].no) then begin temp:= L[i].no L[i].no:= L[i-1].no L[i-1].no := temp

j

3+L[i].Tugas*0.35

L[i].no < L[i).no-1

Related Documents

Algo Hari Ini
April 2020 20
Bismillah Hari Ini Acc.docx
December 2019 23
Kata Bijak Hari Ini
November 2019 32
Humor Hari Ini
June 2020 18
Sebiru Hari Ini
June 2020 16
Pesan Hari Ini
November 2019 40