Question: VISUAL BASIC- The first Supreme Court justice was appointed in 1789. Write a program to create a file that lists the years from 1789 through

VISUAL BASIC- The first Supreme Court justice was appointed in 1789. Write a program to create a file that lists the years from 1789 through 2016 in which no Supreme Court justices were appointed. The first four lines of the file will be 1792, 1794, 1795 and 1797.

Use Justices.txt for the input file. Name the output file NoAppointments.txt.

Hint: One approach is to use two arrays: one for justices and the other for all possible appointment years. The arrays can be individually converted to LINQ query variables. Finally, a Set operation can then be used with the two arrays to extract the years to write into a text file.

If possible, please TYPE the answer. Thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!