Hello. I really appreciate your answer. I have definitely gotten somewhere, but I am confused on how to code the rest. I also do not understand how to use the Array class in VB. An array is a line of code? This is what I have so far. I assume that prices in (prices.Length) is underlined green because I have not declared its value supposedly within the array? It states it is not assigned a value when I hover over it. My screenshot will show my coding form. There are also txtTotalItems_TextChanged and txtTotalSales_TextChanged missing from the screenshot at the end. I opened all pieces of the design form just to show what I named my labels and text boxes. I have 3 labels, Total Sales, Average Sale Price, and Total Items as well as three text boxes below each of those labels that have the exact same name. The text boxes' purpose is to showcase the values, however I do not know if this is correct and do not know where the array is going to go. I have a text box for the user to enter the prices, and two buttons, one the Submit Price button and one the Exit button.
Hello. I really appreciate your answer. I have definitely gotten somewhere, but I am confused on how to code the rest. I also do not understand how to use the Array class in VB. An array is a line of code?
This is what I have so far. I assume that prices in (prices.Length) is underlined green because I have not declared its value supposedly within the array? It states it is not assigned a value when I hover over it. My screenshot will show my coding form. There are also txtTotalItems_TextChanged and txtTotalSales_TextChanged missing from the screenshot at the end. I opened all pieces of the design form just to show what I named my labels and text boxes. I have 3 labels, Total Sales, Average Sale Price, and Total Items as well as three text boxes below each of those labels that have the exact same name. The text boxes' purpose is to showcase the values, however I do not know if this is correct and do not know where the array is going to go. I have a text box for the user to enter the prices, and two buttons, one the Submit Price button and one the Exit button.
Step by step
Solved in 4 steps with 3 images