Computer Science, asked by sbhatiya1820, 23 days ago

Coding Question Problem Statement Taylor Mason is a well known accountant of Darwin Finance. His organisation takes care of finance details of various petroleum contractors. Taylor wants to find an analysis about the fluctuating rate in the petrol during the last month. Given the petrol price for 'n' days, help Taylor to find out the maximum and minimam price during that gives period Note: If multiple days have maximum/ minimum price, display the most recent one for maximum and oldest one for minimum Input: First line consists of an integer representing 'n' followed by 'n' values, each being space separated, representing the petrol price for the given day in the next line Output: Display the maximum and minimum price of petrol along with the day number over the period. Output must consist of 4 lines, . First line must print maximum price of petrol. . Second line must print the maximum day. • Third line must print minimum price of petrol. . Fourth line must print the minimum day. Refer the sample given. Output must be printed in consecutive lines as shown below.

Answers

Answered by borapraveen20
1

Answer:

Coding Question Problem Statement Taylor Mason is a well known accountant of Darwin Finance. His organisation takes care of finance details of various petroleum contractors. Taylor wants to find an analysis about the fluctuating rate in the petrol during the last month. Given the petrol price for 'n' days, help Taylor to find out the maximum and minimam price during that gives period Note: If multiple days have maximum/ minimum price, display the most recent one for maximum and oldest one for minimum Input: First line consists of an integer representing 'n' followed by 'n' values, each being space separated, representing the petrol price for the given day in the next line Output: Display the maximum and minimum price of petrol along with the day number over the period. Output must consist of 4 lines, . First line must print maximum price of petrol. . Second line must print the maximum day. • Third line must print minimum price of petrol. . Fourth line must print the minimum day. Refer the sample given. Output must be printed in consecutive lines as shown below.

Explanation:

hope it's helpful to you

make me brainliest thanks bro great

Answered by srinivasant1018
0

Explanation:

fulchkcgkckcxkgxgj, jf

Similar questions