Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(d) Write a function named void readDurianDetails (Durian durian[], int &noDurian) that read the information from the text file of durianDetails.txt and display the
(d) Write a function named void readDurianDetails (Durian durian[], int &noDurian) that read the information from the text file of durianDetails.txt and display the types of durians with the taste available according to each source based on user's input. Display also the total number of type of durians available in the selected source as shown in Figure Please enter the source to view the available types of durian: Penang Type [1]: Black Thorn Taste: Intense, bitter Type [2]: Red Prawn Taste: Sweet Type [3]: Hor Lor Taste: Mildly sweet There are total 3 type(s) of durian(s) available in Penang.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
QUESTION Write a function named void reodDurianDetailsDurian durian int no Durion that read the info...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