Welcome to AESTHETIC CODING
Naturally Curious

One-dimensional Arrays
One-dimensional arrays are data structures that contain data types of the same type. In the form of a group of related memories...
Loop
Introduction Examples of algorithms in everyday life : Example 1 : To finish eating a plate of rice (initial conditions) Mouthfuls of a...
Subprogram dan Rekursi
metode : divide & conquer (dibagi-bagi menjadi bagian yang lebih kecil, lalu selesaikan masalah yang dihadapi) Prosedur Prosedur...
Selection Structure
The selection structure is used to make the selection of several alternatives of the given conditions. Relational Operators Truth Table...
Sequence
What is a sequence? A sequence is a series of statements whose sequence and execution are coherent and have a different meaning if...
Analisis Kasus
Soal. Carilah nilai deviasi standar dari n buah data Jawab : Analisis : Standar deviasi adalah statistik yang mengukur penyebaran...
Latihan
Soal. Algoritma dan fungsi menghitung panjang string Jawab : Algoritma panjang_string {membaca karakter yang dimasukkan untuk kemudian...
Perulangan / Loop | Workshop 5
Soal. Fungsi fibonacci dengan 2 cara rekrusif Jawab : Cara 1 : fungsi fibonacci (input n : integer) : integer Deskripsi : if (n > 2)...
Latihan
Soal. Buatlah translasi dalam bahasa C untuk algoritma 4.5. Apakah diperlukan modifikasi algoritma? Jawab : Ya, diperlukan modifikasi...
C++ Program and Algorithm | Counting Fractions
Algorithm series_counting {calculate fraction series based on user input} Declaration n : integer Description read (n) count (n, i, j) if...
C ++ Program and Algorithm | Checks Whether The Input Character is Uppercase, Lowercase, or Digits
Algorithm character_check {checks whether the input character is uppercase, lowercase, or digits} Declaration character : char...
Pemilihan / Kontrol Program | Workshop 4
Algoritma akar imajiner berbentuk a + bi dengan a dan b bilangan real dan bila harga b^2 - 4ac < 0 dengan menyempurnakan Algoritma...
Sekuen | Workshop 3
Algoritma mencari titik tengah sebuah garis yang ujung titiknya yaitu A(x1, y1) dan B(x2, y2) Jawab : Gambar : Algoritma titik_tengah...
I/O Operator Overloading dan file | Workshop 2
Program memasukkan jam, menit, detik #include<iostream> using namespace std; class waktu{ friend ostream& operator<<(ostream&, const...
Workshop 1
Program biodata #include<iostream> using namespace std; class bio{ public : void isi_bio(){ nama = "D.A.Rosi Arsida Wardani";...
Komputer dan Bahasa Pemrograman
Komputer Komputer adalah suatu mesin yang melakukan tugas yang sederhana berdasarkan instruksi-instruksi tertentu. Perintah-perintah...
Program Developments Steps
Understand the problem at hand. Identify what are the inputs and outputs required. Use a flowchart or algorithmic approach to define...
C ++ Program and Algorithm | Separate integer numbers less than 1000 into their components
Analysis : To get the number hundreds, the formula is : hundreds = number/100 To get the number tens, the formula is : tens = (number %...
Syntax and Logical Error
Syntax Error Syntax errors are errors in the source code which are related to the syntax of the language. Syntax errors are detected by...














