Write a program that allows the user to enter any number of


Problem

1. Write a program that allows the user to enter any number of names, last name first. Using one of the predefined methods of the Array class, order the names in ascending order. Display the results.

2. Write a two class application that has as a data member an array that can store state area codes. The class should have a member method that enables users to test an area code to determine if the number is one of the area codes in the state exchange. The member method should use one of the predefined methods of the Array class and return true if the argument to the method is one of the state codes. Override the ToString( ) method to return the full list of area codes with each surrounded by parentheses. To test the class, store a list of state codes in a onedimensional array. Send that array as an argument to the class. Your application should work with both an ordered list of area codes or an unordered list.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that allows the user to enter any number of
Reference No:- TGS02645452

Expected delivery within 24 Hours