misi, reblog ya ^^

ahlantri

%program matematika
function [pilih]=ahlan(pilih)
input(‘                                   WELCOME TO THIS GAME ‘)
input(‘ ‘)
clc;
disp(‘                        program kuis matematika by’)
disp(‘1. Muhammad Salahuddin; 2. Samsul Hadi; 3. rajiman baso; 4. Ida Bagus kukuh’);
disp(‘=============================================================================’);
disp(‘ ‘);
disp(‘—-** soal kuis terdiri dari soal pilihan ganda dan essay —-**’);
disp(‘———-**1.     soal pilihan ganda      **———–‘);
disp(‘ ———**2.         soal essay          **———–‘);
disp(‘ ———**3.            exit             **———–‘);
k=0;
n= input(‘ masukan pilihan anda (1…3)——->  ‘)
if n==1;
for A=1
disp(‘1. tentukan luas persegi dengan panjang 2 dan lebar 3 ! ‘);
a=2;
b=3;
A=4;
B=6;
C=8;
D=10;
c=B;
c=a*b;
disp(‘A.4; B.6; C. 8; D.10’)
c1=input(‘masukkan jawaban anda = ‘);
if  c1 == c;
input(‘************* benar ***************’);
else
input(‘salah’);
end
if c1 == c;
input (‘ skor 10 ‘);
k=k+1;
else
input(‘ kurangi 10 ‘);
k=k-1;
input(‘kebenaran :bahwa suatu luas persegi formulanya adalah luas = panjang * lebar,,,sehingga jawabannya adalah B.6’)
end
for A=2
disp(‘2. tentukan volume suatu balok…

View original post 451 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s