Question: visual basic The file Justices.txt contains data about Supreme Court justices, past and present. Each record of the file contains six fields; first name, last
visual basic The file Justices.txt contains data about Supreme Court justices, past and present. Each record of the file contains six fields; first name, last name, appointing president, home state, year appointed, and year they left the court. For current justices, the last field is set to
The first two lines are as follows:
Samuel, Alito, Geroge W Bush, NJ
Henry, Baldwin, Andrew Jackson, PA
Which of the following determines the first two lines of the new file created by the following code?
Dim query From line In IOFile.ReadAllLines Justicestxt
Let data line.Splitc
Let LastName data
Let pres data
Let state data
Let presLastName pres.SplitcLast
Let newline presLastName & & LastName & & state
Select newline
IOFile.WriteAllLines NewFiletxt query
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
