#include<iostream>
#include<conio.h>
using namespace std;
int data[10];
int n;
void tukar(int a, int b)
{
int t;
t=data[b];
data[b]=data[a];
data[a]=t;
}
int main()
{
int pos,i,j;
Thursday, 30 April 2020
Tuesday, 21 April 2020
Buble Sort
#include<iostream>
#include<conio.h>
using namespace std;
int data[20];
int n;
int main()
{
int i, j, tmp;
cout<<"---------------------------------------------"<<endl;
cout<<"BUBBLE SORT ASCENDING"<<endl;
cout<<"---------------------------------------------"<<endl;
cout<<"INPUTKAN BANYAKNYA DATA : ";
cin>>n;
cout<<"---------------------------------------------"<<endl;
for(i=0; i<n; i++)
{
cout<<"INPUTKAN BILANGAN KE-["<<(i+1)<<"] : ";
cin>>data[i];
}
#include<conio.h>
using namespace std;
int data[20];
int n;
int main()
{
int i, j, tmp;
cout<<"---------------------------------------------"<<endl;
cout<<"BUBBLE SORT ASCENDING"<<endl;
cout<<"---------------------------------------------"<<endl;
cout<<"INPUTKAN BANYAKNYA DATA : ";
cin>>n;
cout<<"---------------------------------------------"<<endl;
for(i=0; i<n; i++)
{
cout<<"INPUTKAN BILANGAN KE-["<<(i+1)<<"] : ";
cin>>data[i];
}
Wednesday, 15 April 2020
Daftar Zodiak
Soal UTS SI-S1
ZODIAC
|
JANGKAUAN TANGGAL
|
Aries
|
21 Maret - 19
April
|
Taurus
|
20 April - 20 Mei
|
Gemini
|
21 Mei - Juni
|
Cancer
|
21 Juni - 22 Juli
|
Leo
|
23 Juli - 22 Agustus
|
Virgo
|
23 Agustus - 22 September
|
Libra
|
23 September - 22 Oktober
|
Scorpio
|
23 Oktober - 21 November
|
Sagitarius
|
22 November - 21 Desember
|
Capricorn
|
22 Desember - 19 Januari
|
Aquarius
|
20 Januari - 18 Februari
|
Pisces
|
19 Februari - 20 Maret
|
Monday, 13 April 2020
Subscribe to:
Posts (Atom)