Posted by : Fadhlan Ruchiatna Selasa, 11 Maret 2014

#include
#include
#include
main()
{
int tgs1, tgs2, tgs3;
float rata, varian, deviasi;
cout<<"Masukkan nilai Tugas Pertama =";
cin>>tgs1;
cout<<"Masukkan nilai Tugas Kedua= ";
cin>>tgs2;
cout<<"Masukkan nilai Tugas Ketiga= ";
cin>>tgs3;
rata=(tgs1+tgs2+tgs3)/3;
cout<<"Nilai Rata - Rata = "<varian= (((tgs1 - rata)*(tgs1 - rata)) + ((tgs2 - rata)*(tgs2 - rata)) + ((tgs3 - rata)*(tgs3 - rata)))/3;
cout<<"Nilai Varian ="<
deviasi= sqrt(varian);
cout<<"Nilai Standar Deviasi = "<

getch();
}














http://uts-sumbawa.ac.id
http://widiartaimade.blogspot.com

{ 1 komentar... read them below or add one }

Welcome to My Blog

Popular Post

Blogger templates

Total Tayangan Halaman

Diberdayakan oleh Blogger.

Pages - Menu

Pengikut

Mengenai Saya

Foto saya
Sumbawa besar, Sumbawa, Indonesia

Blogger templates

- Copyright © FrOst Blog's -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -