Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Visual Basic: The file Digits.text contains a list of digits, all between 0 and 9. Write a program that displays the frequency of each digit?

This is what I have so far: ANYTHING can help:

Public Class lstbox

Dim digits() As String = IO.File.ReadAllLines("Digits.txt")

Dim d(digits.Count - 1) As Double

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

For i As Integer = 0 To digits.Count - 1

Next

End Sub

End Class

There are no answers yet.
Be the first to answer this question.