Sunday, November 11, 2018

Lab3 & Lab4

Assalamualaikum , in this entry I would like to share about lab3 and lab4. For lab3 , is just the same as lab2 but there is an addition in selection statement, declare and use a appropriate data types in program and write, compile and run a programcbased on flowchart.

Firstly, we are been asking to trace a program. Then compile the program and try to run the program. Also , there is some error in the question and we need to fix it before run the java program.

After that, the question is about how to write a java program which is require us to use to the math.pow and also scanner obviously.

for lab4, we learn how to use the multi way and nested selections. Multi way means that the output can be various and not only one possibility on output but there are more than two output .



p/s: link to Atika`s blog
ssk3100.blogspot.com

No comments:

Post a Comment