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> | |
using namespace std; | |
int binomial(int n, int k); | |
int main() | |
{ | |
int n,k; | |
cout<<"\t\t\t Program menghitung Fungsi Binomial\t\t\t"; | |
cout<<endl; | |
cout<<"Masukkan 2 angka :"; |
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 mencari simpangan rata-rata /Means Deviation (MD) | |
#include <iostream> | |
#include <conio.h> | |
using namespace std; | |
//fungsi untuk mencari simpangan rata-rata | |
int main(int a, char** b) | |
{ | |
int i,acak; | |
//angka meng-output jumlah yang diinput ke bawah |
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 untuk menentukan nilai akhir melalui matriks GRADE dan BOBOT | |
#include <iostream> | |
using namespace std; | |
//fungsi nilai akhir | |
//bobot [k] bagaimana ya?? | |
// Global variable | |
int soal, siswa; | |
int bobot[3] = {0, 0, 0 }; // 3 bobot, dari 3 soal |
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 untuk menentukan nilai akhir melalui matriks GRADE dan BOBOT | |
#include<iostream> | |
using namespace std; | |
//fungsi nilai akhir | |
//bobot [k] bagaimana ya?? | |
void cetak(float grade[50][50],int x, int y) | |
{ | |
float bobot[50]; | |
for(int i=1;i<=x;i++){ | |
for(int j=1;j<=y;j++){ |