Postingan

Menampilkan postingan dari Maret, 2021

Xampp di Mac Os Macbook

 -' Running manual : sudo /Applications/XAMPP/xamppfiles/xampp start

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Sorting and Searching - 8.2 Sorting Part 2

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> void swap(int &x, int &y){     int temp;          temp = x;     x = y;     y = temp; } void bubbleSort(int data[], int n){     for(int i = 0; i < n - 1;i++){                  //elemen i terakhir yang sudah ada         for(int j = 0; j < n - i - 1; j++){             ...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Sorting and Searching - 8.1 Searching

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> int data[6] = {5, 1, 4, 3, 2}; int n = 5;      int searchAngka(int input){     for(int i = 0; i < n; i++){         if(input == data[i]){             // printf("Ketemu di index-%d", i);             return i;         }     }        return -1; } int main() {     //Search  ...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Recursive & Struct - 7.2 Struct

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> #include <string.h> //Pointer, Array, Struct // Local Global struct Mahasiswa{     char nama[100];     int nilai; }; int main() {     Mahasiswa mhs1;     strcpy(mhs1.nama, "Andi");     mhs1.nilai = 90;          printf("Nama dan Nilai : %s dan %d\n", mhs1.nama, mhs1.nilai);          Mahasiswa mhs2;     strcpy(mhs2.nama, "Budi");...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Recursive & Struct - 7.1 Recursive

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> int angka(){     int a = 5;     printf("%d", a);          return angka(); } int factorial(int n){     if(n == 0 || n == 1){         return 1;     }else{         return n * factorial(n - 1);         } } int main() {     //Recursive     //adalah function yang memanggil dirinya sendiri   ...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Function & Built-in function - 6.4 Built In Function

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> #include <string.h> int main() {     //build in function     // bisa cari di internet : Library in c;          // bawaan c, contoh stdio.h :     //printf     printf("Hello world\n");          // // ada juga string.h      // // strlen, untuk menghitung banyaknya karakter     // char nama[50] = "Indra Wulida Ramdan";   ...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Function & Built-in function - 6.3 Function Part 3

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> //void //void adalah function yang tidak memiliki return value dan tipe data void cetak (){     printf("Hello\n");     printf("Hello2\n");      } // int angka(){      //     return 10; // } int kuadrat(int angka){     //2      return angka * angka; } //Passing by value //Melempar value dari suatu variabel melalui parameter untuk di proses //data yang di...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Function & Built-in function - 6.2 Function Part 2

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> //void //void adalah function yang tidak memiliki return value dan tipe data void cetak (){     printf("Hello\n");     printf("Hello2\n");      } // int angka(){      //     return 10; // } int kuadrat(int angka){     //2      return angka * angka; } //Passing by value //Melempar value dari suatu variabel melalui parameter untuk di proses //data yang di...

Prakerja (newvideo.course-net.com) - Teknik Coding Dasar Untuk Menjadi Apps Developer - Function & Built-in function - 6.1 Function Part 1

   /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> //void //void adalah function yang tidak memiliki return value dan tipe data void cetak (){     printf("Hello\n");     printf("Hello2\n");      } // int angka(){      //     return 10; // } int kuadrat(int angka){     //2      return angka * angka; } int main() {     // cetak();     // int angkaDariFunction = angka();     /...

Prakerja (newvideo.course-net.com) - Array & Pointer - 5.2 Pointer

  /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> using namespace std; int main() {     // pointer, array, struct          // pointer     // * menunjukan isi dari     // & menunjukan isi alamat          int angka = 100;     int *ptr;          ptr = &angka;     printf("isi dari angka : %d\n", angka);     printf("alamat dari angka : %d\n", &angka); ...

Prakerja (newvideo.course-net.com) - Array & Pointer - 5.1 Array

 /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> using namespace std; int main() {     // pointer, array, struct          // //array 1 dimensi          // int angka [4] = {5,6,7,8};     // printf("isi dari array angka : ");     // for(int i = 0; i < 4; i++){     //     printf("%d ", angka[i]);     // }          //array 2 dimensi     //angka[baris...

Prakerja (newvideo.course-net.com) - Selection - 3.2 Selection Switch Case

 /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> using namespace std; int main() {     //Selection If else, Switch case     int input;     printf("1. print angka 123\n");     printf("2. print angka 456\n");     printf("3. print angka 789\n");     printf("Pilih Menu : ");     scanf("%d", &input);fflush(stdin);          switch(input){         case 1:         ...

Prakerja (newvideo.course-net.com) - Selection - 3.1 Selection if else

 /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> using namespace std; int main() {     //Selection If else     //if else, switch case          int umur;     printf("Masukan Umur : ");     scanf("%d", &umur);fflush(stdin);          //&& || untuk kondisi     if(umur > 17 && umur < 21){         printf("Remaja");     }else{       ...

Prakerja (newvideo.course-net.com) - Operasi aritmatika - 2.2 Aritmatika Modulus dan Increment

 /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> using namespace std; int main() {     // Operasi Aritmatika     // Modulus %     // int permen = 18;     // int sisa;     // sisa = permen % 5;     // printf("Sisa permen adalah %d", sisa);          // Increment     int angka = 10;     // printf("angka sebelum ++ %d\n\n", angka);     // angka++;     // printf("angka setelah +...

Prakerja (newvideo.course-net.com) - Operasi aritmatika - 2.1 Aritmatika Operasi Dasar

 /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> using namespace std; int main() {     // Operasi Aritmatika     // int angka1 = 10;     // int angka2 = 20;     // int hasil = angka1+angka2;//30     // printf("Angka1 + Angka2 = %d\n\n" , hasil);          // hasil = angka2-angka1;     // printf("Hasil sekarang adalah = %d\n\n" , hasil);          float alas;     float tinggi; ...

Prakerja (newvideo.course-net.com) - Sintaks & Input Output Variable - 1.3 Input

 /******************************************************************************     https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ // Dev C++ #include <stdio.h> int main() {     //Input -> scanf()     //angka, string     //contoh nama dan umur     char nama[50];     int umur;          printf("Masukan nama kamu : ");     // scanf("%s", nama);fflush(stdin);     // fflush(stdin); : untuk menghapus buffer yang ada di string nama          scanf("%[^\n]", nama);fflus...

Prakerja (newvideo.course-net.com) - Sintaks & Input Output Variable - 1.2 Output Variabel

 /******************************************************************************     https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ // Dev C++ #include <stdio.h> int main() {     // cara komentar : di blok terus ctrl + /     // char nama[50];     // nama = "indra wulida"; //string copy          char nama[50] = "indra wulida";          printf("nama saya adalah %s", nama);               return 0; }

Prakerja (newvideo.course-net.com) - Sintaks & Input Output Variable - 1.1 Pengenalan I/O dan Variabel

 /****************************************************************************** https://www.onlinegdb.com/online_c++_compiler                               Online C++ Compiler.                Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ // Dev C++ #include <stdio.h> int main() {     //variabel     //angka, kata2, koma          // int = integer     // int angka = 10; langsung diisi value     int angka;     angka = 10;          // karakter     char karakter;     karakter = '!';          // koma     float bilangan;     bilangan = 3.5; ...

Pasang Internet Di Bandung, Reseller Internet First Media Bandung Murah Cepat | Pasang Wifi Bandung | Internet Bandung Murah

Gambar
Pasang Internet Di Bandung, Reseller Internet First Media Bandung Murah Cepat | Pasang Wifi Bandung | Internet Bandung Murah Internet First Media, Reseller First Media Murah Cepat Bandung. Internet Wifi Hemat Murah Cepat | First Media | Bandung | Cimahi Lebih detailnya bisa kunjungi laman : https://first-media-bandung.envinc.id/​ Bersama First Media, Serunya internetan bersama siapapun dengan Internet Cepat Tanpa Batas dan Tayangan HD Berkualitas. internet bandung murah, internet stabil bandung, internet bagus bandung, internet terbaik di bandung, wifian di bandung,