Professional Documents
Culture Documents
start
Output
bulan
b.
Variable Value
MONTHS 8
BASE SALARY 2.500.000.
THR 1666666
Variable Value
MONTHS 5
BASE SALARY 5.500.000.
THR 2291666
c. C++
start
2. a.
Output
Masukkan nilai
x1 dan x2
Input
X1,x2
rata-rata = x1+x2/2
output
end
rata –rata
b. Tracing
Variable Value
x1 7
x2 8
Hasil rata-rata 7.5
c. uses C++ aplication and output
3. a.
star
end
Outputt
Variable A Output
a,b,
Variable B
bb
Input c=0
c=a
a,b,
a=b
b=c
b. in C++ application
4. a.
start
Output
Masukkan nilai
feet,inchi,pound
Input
Feet,inchi,pound
end
Meter1= feet*0.305
b. in C++ application
5. a.
Output
start
Masukkan rupiah
rupiah
Pounds=rupiah/18000
Pounds
end
b.
start
Input
rupiah
Pounds = rupiah/18000.0
Pence20 = pence/20
Penny=((pence % 20 ) %10)%50
output
pounds,lembar50,poundco end
ins,pence20,pence10,penc
e50,penny