Nama : Davin Alviano NIM : 2702363374
1. Declare float a 2. Display “Input a : ” 3. Input a
4. Declare float b 5. Declare float c 6. Set b = a + 2
7. Display “The value of b is : ”, b 8. Set a = b * 4
9. Display “The value of a is : ”, a 10. Set b = a / 3.14
11. Display “ The value of b is : “,b 12. Set a = b – 8
13. Display “The value of a is : ”, a
Dataset1 variable
Output
a b c
2 ? ? ? Displayed
3 1 ? ? ?
6 1 3 ? ?
7 1 3 ? Displayed
8 12 3 ? Displayed
9 12 3 ? ?
10 12 3.821 ? ?
11 12 3.821 ? Displayed
12 -4.179 3.821 ? ?
13 -4.179 3.821 ? Displayed
Dataset1 variable
Output
a b c
2 ? ? ? Displayed
3 2 ? ? ?
6 2 4 ? ?
7 2 4 ? Displayed
8 14 4 ? Displayed
9 16 4 ? ?
10 16 5.095 ? ?
11 16 5.095 ? Displayed
12 -2.905 5.095 ? ?
13 -2.905 5.095 ? Displayed