Chapter 7.1 – Previous Exam Questions – Video (here)
Chapter 7.1 – Previous Exam Questions – max odd – part1 Video (here )
Chapter 7.1 – Previous Exam Questions – max odd – part2 - Video (here )
Kindly note: some videos are PowerpointShow (ppx), thus if the video does not open automatically, please download the file and then open it. The files will include PowerPoint slides and sound for each slide
Chapter 7.1 – Basic Arrays (4)
Chapter 7.1 – EmployeeDemo Example (1) – Video (here)
Chapter 7.1 – EmployeeDemo Example (2) – Video (here)
Chapter 7.1 – EmployeeDemo Example – Question (here)
Chapter 7.1 – EmployeeDemo Example – Java file (here)
Chapter 7.1 – Basic Arrays (5) Exercise
Write a program to take in from the user product sales for a week in a single dimension array of doubles. Find the average price and then store the difference of prices compared to the average in another array of doubles. Print the differences to the average, the lowest value. For Example:
Input sales for the week: 11.3 14.2 15.5 16.6 13.5 14.7 15.1
The average is: 14.4
The difference array: -3.1 -0.2 1.1 2.2 -0.9 0.3 0.7
lowest: -3.1
Solution:
Chapter 7.1 – Sales Example – part 1– Video ( here )
Chapter 7.1 – Sales Example – part 2– Video ( here )
Chapter 7.1 – Sales Example – part 3– Video ( here )
Chapter 7.1 – Sales Example – java program ( here )
Chapter 7.2 - Arrays of Class Objects
Attached Files: