Answered step by step
Verified Expert Solution
Question
1 Approved Answer
OUTPUT CONSOLE Palm oil price analysis systems. Please enter week number: 24 Please enter palm oil price (per tonne) for day 1: RM366.50 Please enter
OUTPUT CONSOLE Palm oil price analysis systems. Please enter week number: 24 Please enter palm oil price (per tonne) for day 1: RM366.50 Please enter palm oil price (per tonne) for day 2: RM368 Please enter palm oil price (per tonne) for day 3: RM416.90 Please enter palm oil price (per tonne) for day 4: RM383.44 Please enter palm oil price (per tonne) for day 5: RM446 Please enter palm oil price (per tonne) for day 6: RM489.44 Please enter palm oil price (per tonne) for day 7: RM323.59 Highest palm oil price (per tonne) for week 24 is: RM489.44 Lowest palm oil price (per tonne) for week 24 is: RM323.59 Average palm oil price (per tonne) for week 24 is: RM399.12 (i) Write the complete program to produce output as shown in Figure Note: The words in bold are the input/testing case given by the user. Used array to store the input data, for-loop fo repetition and, one-way if selection in your algorithm
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started