---- InputList ← [3, -1, 2, 10, -5] FOR EACH item IN inputList { IF ((item < 0) OR (item * 2 > 4)) { DISPLAY item } }
This code outputs 3, -1, 10, -5. The negative are there because they are less than 0. 3 is there because 3 * 2 is greater than 4 and 10 is naturally greater than 4. 2 isn't an output because 2 * 2 is 4 which isn't greater than 4.
--- Array elements are declared as String = {" ....", "2"}
--- Pseudocode are the processing steps of a program.
--- Network standards are needed because technologies must be compatible to allow communication.
--- 8 4 2 1 8 4 2 1
0 1 0 0. 1 0 1 0
0 4 0 0 8 0 2 0
4 A
--- The Internet was created for military use originally.
--- Encapsulation is Wrapping up of data by adding extra information at the beginning and sometimes also at the end
--- Technology has affected the world positively and negatively.
---
Comments