Case Study -- Independent Task

Dear all univ. students, I must apologize as I told in the previous meeting, that next Saturday I can't attend the class because Insya Allah I am going to present my Research in "International Seminar on Scientific Issues and Trends", in Yogyakarta. It's for this reason, there is a case study that you all have to transform to three Looping in (Loop_while,  and Loop_do_while). Oke, be Great university students that always learn and study hard, don't forget the file have to be sent to the mail der.unikom@gmail.com [Subject key is: your_classCode_yourNIM e.g : SI-9_3211001]. Here is the Algorithm.  
 
 Algorithm Average_Student_Scoring
Declaration
  N : integer //number of students > 0
  n : integer //number of lessons > 0
  nama : string
  nilai : real
  jumlah : real
  rerata : real
  j, k : integer // counter variable
Description
  read(N)
  read(n)
 
  j <--1
  while j <-- N do
    read(nama)
   k<--1
   jumlah<--0;
   while k <= n do
      read(nilai)
      jumlah<--jumlah + nilai
      k<--K+1
   endWhile

   rerata<--jumlah/n
write(rerata)
 

Popular posts from this blog

Introduction to Use Case Diagram - Case study: Facebook

Sequential Search

Motivasi dan Semangat Menuntut Ilmu Agama Islam Sesuai Al-Qur’an dan Sunnah