2.8 KONVERT DESIMAL KE OKTAL

| Monday, March 24, 2014
Analisis :
  • Input : bil sebagai integer
  • Proses : A <-bil%8
                  B<-(bil-A)/8
  • Output :cetak i
Deklarasi :
Integer B (input)
integer A(output)
Deskripsi :
Read (bil ,1=0)
A =bil%8
B=(bil-A)/8
Print(A)

RAPTOR :
 

Program C++ :





0 comments:

Post a Comment

Next Prev
▲Top▲