Write a program to display the contents of the term and home


Problem

Write a program to display the contents of the TERM, HOME, SHELL, USER from environment list by giving options and display the number if it uses 'n' option. Display all the environment variables if it uses 'a'. Need to display the error message either there is no option in optstring or no option.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program to display the contents of the term and home
Reference No:- TGS03256223

Expected delivery within 24 Hours