Question: (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](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/02/65cd3df1e7000_55365cd3df18fb4c.jpg)
(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
QUESTION Write a function named void reodDurianDetailsDurian durian int no Durion that read the info... View full answer
Get step-by-step solutions from verified subject matter experts
