Wednesday, October 3, 2018

...Lab2...



Assalamu’alaikum and hello  ^_^ 

I’m going to reflect on our Lab2 assignment. As usual, the more we learn, the more difficulties we will defined. First of all, we need to trace the programs given as we did in Lab1. When we getting familiar with the program, we will find it is easy to detect the errors in the programs. The errors consist of syntax error, runtime error and logic error. We should also know on how to use each of data type in Java which are byte, int, short, long, double, float, char and Boolean.

Here I attached one of the programs that contain errors with the right one.









Then, we need to develop a program for each situation given which the programs let the user to enter the value of input. Thus, the program will compute it and display the results. What can I say is, this assignment wants to test our understanding on how to develop programs and how to get the input from users.



Nurazreen binti Mohd Nor (182433)

SSK3100 (Group 15)





Next blog : kychoong.blogspot.com (Choong Kar Yee)

No comments:

Post a Comment

...Lab10...

Assalamu'alaikum and hello I'm going to share about the assignment that has given (Lab10) on topic array. We are required to def...