1.
Buatlah algoritma mencetak bilangan 1-9
- naik
- turun
menggunakan :
- for to ... ( for down to ... )
- while
- Repeat until
ALGORITMA
no. 1. Naik
- for to ... (for down to ... )
- Repeat until
- While
No. 2 Turun :
- for to ... (for down to ... )
- While
- Repeat Until
Dev C++
- Naik (1-9)
Raptor
Naik (bilangan 1-9)
Naik (bilangan 1-9)
Turun (bilangan 9-1)
Rekursif (Naik (1-9))
Rekursif (Turun (9-1))
Tidak ada komentar:
Posting Komentar