Hayley has started the application development. She needs to ensure that the application meets
the following requirements:
When the application starts, it should display a message asking the user to enter either option d or
v. The application should execute the following actions for the two options:
d: The application should display the file extension of the stock details.
v: The application should open the stock details file in the read-only mode and display its
Write the code snippet that Hayley should use to implement the desired functionality in the
Dear customer, Unfortunately, your question requires a lot of work and cannot be done for free. Please submit it with all requirements as an assignment to our control panel and we'll assist you.