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
#include <stdio.h> | |
int | |
main () | |
{ | |
int nomor_jurusan; | |
printf ("Masukkan Nomor Jurusan yang dipilih (1-3) : "); | |
scanf ("%d", &nomor_jurusan); | |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^public/ | |
RewriteRule ^(.*)$ public/$1 [L] #relative substitution | |
</IfModule> |
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
#include <stdio.h> | |
int | |
main () | |
{ | |
int kendaraan; | |
printf | |
("Pilih kendaraan untuk menempuh perjalanan dari Yogyakarta menuju surabaya (1-4) : "); | |
scanf ("%d", &kendaraan); |
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
#include <stdio.h> | |
int | |
main () | |
{ | |
int kendaraan; | |
printf | |
("Pilih kendaraan untuk menempuh perjalanan dari Yogyakarta menuju surabaya (1-4) : "); | |
scanf ("%d", &kendaraan); |
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
#include <stdio.h> | |
int | |
main () | |
{ | |
int Luas; | |
printf ("Pilihan Luas bangun datar (1-3) : "); | |
scanf ("%d", &Luas); | |
if (Luas == 1) | |
{ |
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
#include <stdio.h> | |
int | |
main () | |
{ | |
int Luas; | |
printf ("Pilihan Luas bangun datar (1-3) : "); | |
scanf ("%d", &Luas); | |
switch (Luas) |
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
#include <stdio.h> | |
int | |
main () | |
{ | |
int a, b; | |
printf ("Menampilkan deret bilangan n : "); | |
scanf ("%d", &a); | |
if (a == 0) |
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
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'kotlin-kapt' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "id.ihwan.aac" | |
minSdkVersion 16 |
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
package id.ihwan.aac.network | |
import okhttp3.OkHttpClient | |
import okhttp3.logging.HttpLoggingInterceptor | |
import retrofit2.Retrofit | |
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory | |
import retrofit2.converter.gson.GsonConverterFactory | |
object ApiFactory { | |
fun create(): ApiInterface{ |
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
interface ApiInterface { | |
@GET("upcoming?api_key=78adf61cd991fec888c055105c148a44") | |
fun getMovie(): Observable<MovieResponse> | |
} |