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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace relearn | |
{ | |
class Program | |
{ |
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 <iostream> | |
int main(int argc, char const *argv[]) { | |
int arr[6] = {2,0,10,5,70,16}, | |
max, | |
min, | |
jumlah = sizeof(arr)/sizeof(arr[0]); | |
std::cout << "Data yang akan di sorting : " << std::endl; | |
for (int i = 0; i < jumlah; i++) { |
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 <iostream> | |
int main(int argc, char const *argv[]) { | |
int arr[6]={5,2,10,50,70,60}, | |
swap, | |
jumlah = sizeof(arr)/sizeof(arr[0]); | |
std::cout << "Data yang akan diurutkan : " << std::endl; | |
for (int i = 0; i < jumlah; i++) { | |
std::cout << "arr["<< i <<"] = "<< arr[i] << std::endl; |
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 <iostream> | |
#include <string> | |
#include <conio.h> | |
using namespace std; | |
//11.12.5800 | |
int main() { | |
//Deklarasi variabel | |
string nama[5], cari; | |
int jumlah = sizeof(nama) / sizeof(nama[5]), ketemu = 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
#include <iostream> | |
#include <string> | |
#include <conio.h> | |
using namespace std; | |
//11.12.5800 | |
int main() { | |
//Deklarasi variabel | |
char nama[20], huruf; | |
int jumlah = sizeof(nama) / sizeof(nama[20]), posisi = 0, i = 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
#include <iostream> | |
#include <conio.h> | |
#include <string> | |
using namespace std; | |
struct Nilai { | |
double tugas; | |
double kuis; | |
double mid; | |
double uas; |
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 <iostream> | |
#include <conio.h> | |
#include <stdlib.h> | |
#include <string> | |
using namespace std; | |
struct Pegawai | |
{ | |
char nama[40]; | |
char nip[12]; |
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 <iostream> | |
#include <stdlib.h>//system() | |
#include <conio.h>//getch() | |
#define MAX 20 //maksimum data queue | |
using namespace std; | |
//Deklarasi struct antrian | |
struct queue { | |
int head, tail, data[MAX]; | |
}Q; |
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
/** | |
* Rahmat Subekti | |
* 11.12.5800 | |
*/ | |
#include <iostream> | |
#include <windows.h> | |
#include <conio.h> | |
//#include <dos.h> | |
//#include <stdlib.h> | |
//#include <cstdlib> |
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
language: node_js | |
node_js: '4.0' | |
before_install: | |
- rvm install 2.1 | |
- rvm use 2.1 | |
- . $HOME/.nvm/nvm.sh && nvm install 6.1 && nvm use 6.1 | |
- gem install bundler | |
- bundle check || bundle install |
OlderNewer