Review Question Two Parts Assume Five Lines File Datestxt Contain Numbers 1492 1776 1812 1 Q37210861

Use visual basic for the following question

This review question has two parts: a) Assume the five lines of the file Dates.txt contain the numbers 1492, 1776, 1812, 1929

This review question has two parts: a) Assume the five lines of the file Dates.txt contain the numbers 1492, 1776, 1812, 1929, and 1941 and the file is in the program’s bin/Debug folder. Determine the output displayed when the button is clicked. Handles btnDisplay.click Dim dates() As String- IO.File. RLines ( “Dates.txt”) Dim query From yr in Dates Where (CInt(yr) >- 1900) Select yr txtOutput.Text- query.Count & ” twentieth

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.