Question: What is the output of the code in Figure 11-53? 28 29 30 immmmn E 2 references Sub WriteRecord() This subprocedure opens the Student Costs
What is the output of the code in Figure 11-53?
28 29 30 immmmn E 2 references Sub WriteRecord() This subprocedure opens the Student Costs output text file and then writ Dim strNameandLocationOfFile As String = "e:\StudentCosts.txt" 31 32 33 Try 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 End Sub Dim objWriter As IO.StreamWriter = 10. File.AppendText(strNameandLocat objWriter.write(_strStudent ID & ",") objwriter.write(_strStudentName & ",") objWriter.write(_strMajor & ",") objWriter.WriteLine(_decStudent Costs) objWriter.Close() Catch ex As Exception MsgBox("No device available program aborted", "Error") Application.Exit() End Try FIGURE 11-53
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
