Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[7 marks) (c) Refer to the output console of C++ Program in Figure Q1(c), X OUTPUT CONSOLE Palm oil price analysis systems. Please enter week

image text in transcribed

[7 marks) (c) Refer to the output console of C++ Program in Figure Q1(c), X 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 Figure Q1(C) C++ program output console Write the complete program to produce output as shown in Figure Q1(c). Note: The words in bold are the input/testing case given by the user. Used array to store the input data, for-loop for repetition and, one-way if selection in your algorithm. [16 marks] [25 MARKS]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

Students also viewed these Databases questions