# data[].attributes.body
siti nurpadilah
anisya
laras wati
nendra

# data[].attributes.body
kurniawan
isma
farel
rifa

# data[].attributes.body
yuli
yasmin
pasha
ida

# data[].attributes.body
arif
rizsa
ahmad
nayla

# data[].attributes.body
tardiansyah
agung
rival
wuri
devan

# data[].attributes.body
#include <iostream>
#include <math.h>

using namespace std;

void Jumlah();
void Kurang();
void Kali();
void Bagi();
void Pangkat();
void Akar();
void Mod();

int main(){

int opr;
char u;

cout << " ===== Kalkulator Sederhana =====" << endl << endl;
q:  cout << " Pilih Operasi Aritmatika\n" << endl;
cout << " 1. Penjumlahan" << endl;
cout << " 2. Pengurangan" << endl;
cout << " 3. Perkalian" << endl;
cout << " 4. Pembagian" << endl;
cout << " 5. Perpangkatan" << endl;
cout << " 6. Akar Pangkat" << endl;
cout << " 7. Modulus" << endl;
cout << "\n Pilihan Anda : ";
cin >> opr;
cout << " ==================================================" << endl;
switch(opr){
case 1 :
Jumlah();
break;
case 2 :
Kurang();
break;
case 3 :
Kali();
break;
case 4 :
Bagi();
break;
case 5 :
Pangkat();
break;
case 6 :
Akar();
break;
case 7 :
Mod();
break;
default :
system("cls");
cout << " Pilihan Anda Tidak Ada Dalam Menu. \n Silahkan Input Ulang \n" << endl;
goto q;
break;
}
cout << endl;
cout << " ==================================================" << endl;
cout << " Apakah Anda Ingin Menginput Ulang ? [Y/T] ? ";
cin >> u;
if(u == 'Y' || u == 'y'){
system("cls");
goto q;
} else {
exit(0);
}
return 0;
}

void Jumlah(){
float a, b;
float hasil;
cout << " Penjumlahan\n\n";
cout << " Masukkan Bilangan Pertama : "; cin >> a;
cout << " Masukkan Bilangan Kedua : "; cin >> b;
hasil = a+b;
cout << " Hasil Penghitungan : " << hasil;
}

void Kurang(){
float a, b;
float hasil;
cout << " Pengurangan\n\n";
cout << " Masukkan Bilangan Pertama : "; cin >> a;
cout << " Masukkan Bilangan Kedua : "; cin >> b;
hasil = a-b;
cout << " Hasil Penghitungan : " << hasil;
}

void Kali(){
float a, b;
float hasil;
cout << " Perkalian\n\n";
cout << " Masukkan Bilangan Pertama : "; cin >> a;
cout << " Masukkan Bilangan Kedua : "; cin >> b;
hasil = a*b;
cout << " Hasil Penghitungan : " << hasil;
}

void Bagi(){
float a, b;
float hasil;
cout << " Pembagian\n\n";
cout << " Masukkan Bilangan Pertama : "; cin >> a;
cout << " Masukkan Bilangan Kedua : "; cin >> b;
hasil = a/b;
cout << " Hasil Penghitungan : " << hasil;
}

void Pangkat(){
int bil;
int pangkat;
float hasil = 0;
cout << " Perpangkatan\n\n";
cout << " Masukkan Bilangan : "; cin >> bil;
cout << " Masukkan Pangkat : "; cin >> pangkat;
hasil = pow(bil,pangkat);
cout << " Hasil Penghitungan : " << hasil;
}

void Akar(){
float bil;
float hasil = 0;
cout << " Akar Pangkat\n\n";
cout << " Masukkan Bilangan : ";
cin >> bil;
hasil = sqrt(bil);
cout << " Hasil Penghitungan : " << hasil;
}

void Mod(){
int a, b;
float hasil = 0;
cout << " Modulus\n\n";
cout << " Masukkan Bilangan : ";
cin >> a;
cout << " Masukkan Bilangan Pembagi : ";
cin >> b;
hasil = a%b;
cout << " Hasil Penghitungan : " << hasil;
}

# data[].attributes.body
#include <iostream>

using namespace std;

int main()
{
cout << "##  Program C++ Segitiga Angka  ##" << endl;
cout << "==================================" << endl;
cout << endl;

int tinggi_segitiga,i,j;

cout << "Input tinggi segitiga: ";
cin >> tinggi_segitiga;

cout << endl;

for(i=1;i<=tinggi_segitiga;i++) {
for(j=1;j<=i;j++) {
cout << i <<" ";
}
cout << endl;
}

return 0;
cout<< '' ## Program Segitiga ini di buat oleh kelompok 5 ## "
Kelompok 5:
" Ahmad"
" Rizsa"
"Nayla "
"Arif "

# data[].attributes.body
Tita Puspasari
RahmaWati
Dita Kamelia
Andri Nopari
Akbar Maulana

# data[].attributes.body
/* Biodata Diri
Program : Program Pemesanan Menu Makanan Restaurant Zodiac.cpp
Programmer : Farel Dwi Satoso
NPM         : 18630840
Universitas Islam Kalimantan Muhammad Arsyad Al-Banjary
dibuat tanggal : 18 January 2020
*/

#include <iostream>
#include <string.h>
#include <conio.h>
#include <stdlib.h>

using namespace std;

#define ppn 0.10 //PPN = 10%
const int diskon = 25000;

int main(){
char nama[50], menu[20], back;
int jumlah, makanan, makan, total, bayar, kurang, bonus, pajak, kembalian,
harga[5]={9500, 18500, 19500, 20000, 24500}, i=0;
bool saldo;

do{
system("CLS");
cout<<"====================================== ZODIAC =============================="<<endl;
cout<<"============================ Fast Food ====================="<<endl;
cout<<"==================== Fast Food Tasik malaya || Jagonya Ayam ! ============"<<endl;
cout<<endl;
cout<<"Masukkan Nama Anda : " ; cin>>nama;
cout<<"Pilihan menu yang tersedia---"<<endl;
cout<<"--------------------------------------------------------------------------"<<endl;
cout<<"| [1] Deluxe Burger          = Rp 9.500                            |"   <<endl;
cout<<"| [2] Hot Crispy Chicken     = RP 18.500                           |"   <<endl;
cout<<"| [3] Chicken Strips BBQ     = RP 19.500                           |"   <<endl;
cout<<"| [4] Mini Chizza            = Rp 20.000                           |"   <<endl;
cout<<"| [5] KFC Winger Spicy       = Rp 24.500                           |"   <<endl;
cout<<"--------------------------------------------------------------------------"<<endl;

cout<<" (Masukkan Menu Makanan berdasarkan Nomor)"<<endl;
cout<<" Silahkan Pilih Makanan anda : "; cin >> makanan;

//Percabangan
switch(makanan){
case 1:
strcpy(menu,"Deluxe Burger");
break;
case 2:
strcpy(menu,"Hot Crispy Chicken");
i=1;
break;
case 3:
strcpy(menu,"Chicken Strips BBQ");
i=2;
break;
case 4:
strcpy(menu,"Mini Chizza");
i=3;
break;
case 5:
strcpy(menu,"KFC Winger Spicy");
i=4;
break;
default:
cout << "Pilihan menu yang anda pilih tidak tersedia..." << endl;
goto ulang;
}

cout<<" Anda memilih " << menu <<endl;
cout<<endl;
cout<<"Jumlah makanan yang dibeli : ";cin>> jumlah;

makan = jumlah * harga[i];
pajak   = makan * ppn;
total   = pajak + makan;
cout << endl;
cout << "-------------------------------------------------------" << endl;
cout << "|           ZODIAC Tasik malaya                     |" << endl;
cout << "-------------------------------------------------------" << endl;
cout << "\tNama Pemesan          : " << nama     <<endl;
cout << "\tMenu Makanan          : " << menu     <<endl;
cout << "\tJumlah Makanan        : " << jumlah   <<" porsi" <<endl;
cout << "\tHarga Makanan         : " << harga[i] << " * "   << jumlah << endl;
cout << "\tPajak Restaurant      : " << pajak    <<endl;
cout << "\tTotal Pembayaran      : Rp " << total    <<endl;

if(jumlah>=4){
bonus = total - diskon;
total = bonus;
cout << endl;
cout << "# Anda mendapatkan diskon Potongan Harga : Rp " << diskon <<" #"<< endl;
cout << "Total Pembayaran Setelah diskon  : Rp "<< total << endl;
}

cout << "--------------------------------------------" << endl;
cout << "Silahkan bayar disini : Rp."; cin>>bayar;
cout << endl;

//Perulangan
while (saldo=bayar<total){
cout << "Saldo anda kurang, Silahkan bayar lagi : Rp. "; cin>>kurang;
bayar+=kurang;
};

kembalian=bayar-total;
cout << "Uang yang anda bayar \t\t\t Rp. " << bayar<<endl;
cout << "Uang kembalian \t\t\t\t Rp. "     << kembalian <<endl;
cout << "##################################################"<<endl;

ulang:
cout << " [Y = ya / T = tidak]"<<endl;
cout << " Apakah anda ingin memesan lagi ? [Y/T]  =  "; cin>>back;
}while (back=='Y'||back=='y');
cout << endl;
cout << " Terima kasih telah Memesan Makanan di KFC"<<endl;
cout << " Selamat Menikmati"<<endl;

return 0;
}

# data[].attributes.body
https://sites.google.com/d/1xvmcDtnJ_doqg0cKoeysJ-CBOxU8XwzW/p/1foDPJrvO2QVc8JkSbmleR_dPsnlkxM9P/edit?pli=1

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
idalaelaxrpl1
https://sites.google.com/d/1fggpAinVQ0dtKm5zYHNhTRM84Snex1wG/p/15qJpcbLOpB8qNvH5UeqCWfWDEyURHmcm/edit?hl=id&pli=1

# data[].attributes.attachment_link.description
Akses Google Drive dengan Akun Google (untuk penggunaan pribadi) atau Akun Google Workspace (untuk penggunaan bisnis).

# data[].attributes.body
https://sites.google.com/d/1T8dqS3cV-aNxbfNjKy7l02BeJC3vO23z/p/19VVoWUDjAGI_IlBF8p3kBWzhHB91uyFp/edit?pli=1

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1S-QVmqugPJpb768niApY22yDjmT6WLFd/p/1ALHR-IV8keV141LR8XOqJiEvzT09qEhP/edit?pli=1

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1KtSqnwxo9RLm1irMRLH9t2T8yv5iKd_x/p/1B845uW32nc0W_oFNzLmQnvD0jAk1Ev8q/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1mr5MrCXEhovUbdu4KKfyfpyhyNaYkyje/p/1-TY9X6335iGxajJg-uWJP-L_eGpe2P9T/edit?pli=1&authuser=1

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1X0b2q0cE5dvqrUh58xJo2UjfP7U-4LGU/p/1ASU1DmlFLAQC7wQEZeCHPBSltr2b-uRq/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1dSQr-GXluThI-zVVwzfJsAfPNmFn2_AV/p/1pwtfBseQzHz_s4drxkTTysgW1iqhtka_/edit?hl=id&pli=1

# data[].attributes.attachment_link.description
Akses Google Drive dengan Akun Google (untuk penggunaan pribadi) atau Akun Google Workspace (untuk penggunaan bisnis).

# data[].attributes.body
https://sites.google.com/d/1A5pB-CR_w0HroR9iHsYoK4fG_0BiPRai/p/1J2Bvs2UETccIPnGbuD73U1Fcwx3dC0Mv/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/19mCJZCkDLCTJvIh4Z4spw9F5v49k5Yxu/p/1HFFELmYTiV4ugciF7cyIM_TdjCXYYnBl/edit?pli=1

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
laraswti

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/15FoCCtrXCun1GWxDpgraQWRxnhJj2KsK/p/1boktXXTcHimMbEhgy3sBt75C9MgsPB5t/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1vXD8ag7yR5TDEABReEBS2XijjSxL3Idd/p/1i9PiZhvjNF5roaLNgFeQxevNNqTnYU-Z/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
isma nailah

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1eyuYytY-e6OHGk-bn7C3IdXWI9r-PUyz/p/1DloNxSOVvviquENa0BWPDkCTRCfgOYDP/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://sites.google.com/d/1VYzxbCQN-jvluJHANqIvEkXXl5Ux4Ur9/p/1iLf3A7mHa_h0U4-IxAtKLf6bZ08tNFOc/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
rizsa x rpl 1

# data[].attributes.body
Tardiansyah x rpl 1

# data[].attributes.body
Rival algivari x rpl 1

# data[].attributes.body
Agung Ruhiyat xrpl 1

# data[].attributes.body
https://drive.google.com/drive/folders/1REtrsThmkfm67nIFmTr4-lYRQC_xw_Q2

# data[].attributes.attachment_link.description
Get access to files anywhere through secure cloud storage and file backup for your photos, videos, files and more with Google Drive.

# data[].attributes.body
#include<iostream>
using namespace std;

int main()  {
int harga, jml_barang, total, pilihan;
string item;
cout<<"item tersedia  : "<<endl;
cout<<"1. Roti \t: Rp. 17.000"<<endl;
cout<<"2. Susu \t: Rp. 6000"<<endl;
cout<<"3. Cimory squeeze \t: Rp. 10.000"<<endl;
cout<<"4. Nugget \t: Rp. 18.000"<<endl;
cout<<"5. Selesai"<<endl;
cout<<"Isikan Kode : ";
cin>>pilihan;
do{
switch(pilihan) {
case 1 :
item = "Roti";
harga = 17.000;
cout<<"Jumlah item :  ";
cin>>jml_barang;
total += harga * jml_barang;                        cout<<jml_barang<<" "<<item;
cout<<" = Rp. "<<harga*jml_barang<<endl;
break;
case 2 :
item = "Susu";
harga = 6.000;
cout<<"Jumlah item :  ";
cin>>jml_barang;
total += harga * jml_barang;                        cout<<jml_barang<<" "<<item;
cout<<" = Rp. "<<harga*jml_barang<<endl;
break;
case 3 :
item = "Cimory Squeeze";
harga = 10.000;
cout<<"Jumlah item :  ";
cin>>jml_barang;
total += harga * jml_barang;                        cout<<jml_barang<<" "<<item;
cout<<" = Rp. "<<harga*jml_barang<<endl;
break;
case 4 :
item = "Nugget";
harga = 18.000;
cout<<"Jumlah item :  ";
cin>>jml_barang;
total += harga * jml_barang;
cout<<jml_barang<<" "<<item;
cout<<" = Rp. "<<harga*jml_barang<<endl;
break;
case 5 :
cout<<"Total Belanja : Rp. "<<total<<endl;
pilihan = 4;
break;
default :
cout<<"Pilihan salah"<<endl;
break;
}
}while(pilihan != 4);
cout<<"Terimakasih"<<endl;

}

# data[].attributes.body
https://drive.google.com/file/d/1OFqlroCzhSwxfUCrdkK4VBOfNQk1zU_9/view?usp=drivesdk

# data[].attributes.attachment_link.description
Get access to files anywhere through secure cloud storage and file backup for your photos, videos, files and more with Google Drive.

# data[].attributes.body
https://sites.google.com/d/1NQYWaPvcy6L678971muZQ9HGc90oV8vl/edit

# data[].attributes.attachment_link.description
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

# data[].attributes.body
https://drive.google.com/drive/folders/1uQGzpgeBol0Eaz4G3hcIbKLZJ-4ixsSd

# data[].attributes.body
https://drive.google.com/folderview?id=1FEjhsdBvDwhHCal4niEin8B9QwCa5ro0

# data[].attributes.body
https://drive.google.com/drive/folders/19ctcGq2HEZu7GflFhaRhpMt5YITMHrlH

# data[].attributes.headline
Progam C++ Absensi daptarkan hadir x rpl 1 

# data[].attributes.subject
Progam C++ Absensi daptarkan hadir x rpl 1 

# data[].attributes.body
#include <iostream>
#include <string>
#include <iomanip>

using namespace std;

// inisialisasi variabel terlebih dahulu
string nama_siswa;
int jumlah_siswa;
int siswa_sakit;
string total_siswa;

//main program
int main(int argc, char *argv[])
{
//input ke variable
cout << "=======================\n";
cout << "Progam C++ Absensi daptar hadir X rpl 1\n";
cout <<
"========================\n";

cout << "Masukkan nama siswa: ";
cin >> nama_siswa;
cout << "Masukkan jumlah siswa: ";
cin >> jumlah_siswa;
cout << "Masukkan siswa sakit: ";
cin >> siswa_sakit;
cout << "total siswa: ";
cin >> total_siswa;

cout << "\n===============";
cout << "\n Catatan Absensi";
cout << "\n===============";

cout << "\nNo jumlah seluruh siswa\n";
for (int i = 0; i < jumlah_siswa;i++)

//percanbangan variabel siswa
cout << "Nama siswa: " + nama_siswa << endl;
cout << "jumlah siswa: ";
cout << siswa_sakit << endl;
cout << "siswa sakit";
cout << siswa_sakit << endl;
cout << "total siswa: " + total_siswa;
return 0;