Computer programs is based on source code and required processing (compiling/interpretation) before execution. [completed]
How to write a computer program?
Basic arithmetics in Java
Different datatypes in Java Language
Differences between int, double and float
Number precision in programming (https://www.youtube.com/watch?v=PZRI1IfStY0)
double vs float (https://www.youtube.com/watch?v=BXyR_356YYo)
Write a post on your learning journal
Reflection homework – blog or video describing what you learned this class. Did you have any difficulties you had to overcome? Any questions, left unanswered? What did you do this lesson that was successful?
What is the difference between double and float? (can also watch video)
Float – Less precision, requires space for • 10^x. Bigger numbers, less space. 4 bytes.
Double – More precision, takes more space. 8 bytes.
How does args work in the main function? Can you name args something different? explain and remember to add images to help visualise.
Args are the argument. You can name them anything you want, as long as you are consistent.