Answer:
start→ randomly pick a fruit from the list→ if the first fruit is 'apple', pick 'banana', else if 'orange', pick 'grape', else if 'grape', pick 'banana'→ print second fruit→end.
Explanation:
To pick a second fruit, some conditions have to be met,
- if you pick an apple, the second fruit should be a banana.
- if you pick an orange, the second fruit should be a grape.
- if you pick a grape, the second fruit should be a banana.
Answer: the OpenFileDialog common dialog control
Explanation:
To browse and select a file on a computer during run time we use OpenFileDialog control. For this we have an OpenFileDialog class and we can create an instance of this class.
The OpenFileDialog common dialog control is used to browse and find a file at run time