This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Simi extends CI_Controller { | |
function __construct() | |
{ | |
parent:: __construct(); | |
$this->gangerti = array('gue ga ngerti cok','lo ngomong naon cok','zz','ape si cok','ga ngarti dah','bahasa planet','ngomong ape si','lo manusia apa manusia','dasar !!','gue kaga ngarti','Ajarin dongse kata katanya :* '); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports MySql.Data.MySqlClient | |
Public Class Form1 | |
Public koneksi As New MySqlConnection | |
Dim perintah As MySqlCommand | |
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load | |
Try | |
koneksi.ConnectionString = "server=localhost;uid=root;database=db_ferdhikaa;" | |
koneksi.Open() | |
MsgBox("Tersambung") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
******************************************************** | |
****| SIMPLE BOT KOMEN INSTAGRAM |**** | |
******************************************************** | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latihan 16. No.1 | |
I.S : A bernilai 24, dan B=52 | |
F.S : Final State nilai A diketahui | |
Kamus Data : | |
A,B adalah variabel tunggal bertipe data integer | |
Algoritma : | |
while (A ≠ B) do | |
begin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latihan 16 No 4 | |
I.S : i bernilai 7, decimal bernilai 13, result bernilai {'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F'} | |
F.S : Final State nilai array result diketahui | |
Kamus Data : | |
result adalah variabel array satu dimensi bertipe data char dengan 8 elemen = {'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F'} | |
decimal adalah variabel tunggal bertipe data integer dengan initial state diketahui sembarang dan maksimal bernilai 29 – 1 | |
i adalah variabel tunggal bertipe data integer | |
Algoritma : | |
while (decimal > 1) do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latihan 16 No 7 | |
I.S : i bernilai 7, decimal bernilai 1, result bernilai {'T', 'F', 'F', 'T', 'F', 'F', 'T', 'F'} | |
F.S : Final State nilai variable tunggal decimal diketahui | |
Kamus Data : | |
result adalah variabel array satu dimensi bertipe data char dengan 8 elemen = {'T', 'F', 'F', 'T', 'F', 'F', 'T', 'F'} | |
decimal adalah variabel tunggal bertipe data integer dengan initial state 1 | |
i adalah variabel tunggal bertipe data integer dengan initial state 7 | |
Algoritma : | |
for a ← 0 <= i do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latihan 16 No 8 | |
I.S : i bernilai 1 | |
F.S : Final State isi array A di ketahui | |
Kamus Data : | |
A adalah variabel array dua dimensi bertipe data integer dengan [5, 5] elemen | |
i, j adalah variabel tunggal bertipe data integer | |
Algoritma: | |
while i ≤ 5 do | |
begin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Program : Terbilang.c | |
Deskripsi : Fungsi terbilang di c. | |
Author : Ferdhika Yudira (151524010) | |
Tanggal/Version : 20/11/2015 v.1.0 | |
Compiler : Dev C++ V5.7.1 | |
Ctt Lain : - | |
*/ | |
#include<stdio.h> | |
#include<string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ATM | |
#include<stdio.h> | |
#include<string.h> | |
// Prototype | |
void terbilang(long angka,char* keluaran); | |
int main(){ | |
// Deklarasi | |
long int jumlahUang; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Program : Fibonaci_Ferdhika.c | |
Deskripsi : Deret fibonaci | |
Author : Ferdhika Yudira (151524010) | |
Tanggal/Version : 23/11/2015 v.1.0 | |
Compiler : Dev C++ V5.7.1 | |
Ctt Lain : - | |
*/ | |
#include<stdio.h> |
OlderNewer