Jumat, 22 Maret 2013

Kasus 3.1

Tentukanlah bilangan terbesar antara dua bilangan bulat

Analisis:

   Input :
  • A (integer)
  • B (integer)
   Proses: Bandingkan A dan B

  •  Jika A>B maka A terbesar (output)
  •  Jika sebaliknya maka B terbesar (output)

Algoritma 

Deklarasi
         A, B (integer)
Deskrips
         read (A,B)
         if (A>B) then write( "Bilangan terbesar adalah ="A)
         else write( "Bilangan terrbesar adalah ="B)

Gambar Flowchart
 


1 komentar:

  1. 5K HD Movies for Samsung Gear VR - VRDl.cc
    This is for the Samsung Gear VR, the first true full HD streaming experience. youtube to mp3 convert This means you can stream 1080p TV in full 1080p from any angle.

    BalasHapus