Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1.  
  2.  
  3. 2. 99
  4.  
  5. 4. Error: lstOutput.Items.Add (a(5) + a 10))
  6.  
  7. If its lstOutput.Items.Add (a(5) + a (10)) than output
  8.  
  9. will be:
  10. 3
  11. 3
  12. 0
  13.  
  14. 6. It will print the 4th line and after that 3rd line
  15.  
  16. of the HORSEMEN.txt file(in case it exists)
  17.  
  18. 8. If the contents of the file DATA.txt is integer it
  19.  
  20. will show in the list box like:
  21.  
  22. 1st line X 2nd line of DATA.txt
  23. 3rd line X 4th line of DATA.txt
  24. 5th line X 6th line of DATA.txt
  25. 7th line X 8th line of DATA.txt
  26.  
  27.  
  28. 10. Your average is 37.5
  29.  
  30. 12. You have a trio.
  31.  
  32. 14. Index is out of range. The array size is 100 but in
  33.  
  34. the for loop 200 elements are getting assigned to it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement