So, I'm new to programming and just started VB.net 2 weeks ago with no knowledge about programming what so ever. I'm trying to make a program for this question given to me in my VB.net class at school.
My question is this;
In 2010, U.S. population was 308,745,538 according to the census bureau. Using the data given below, break down each of the age categories as a percentage of total population.
This is what I made so far,
![]()
Now, in the ovals what I figured I'd do is make a button that will be a equal sign, =, that when pressed will you give the percent of that age group population of the total population. I figured this would be the easiest way at going at this, but please correct me if I'm wrong. So, my question is, how do I make a button display a textbox with read only that tells you the correct percent? I'm fairly new to the GUI of VB.net, but more of a bigger noob when it comes to the actual code.
My question is this;
In 2010, U.S. population was 308,745,538 according to the census bureau. Using the data given below, break down each of the age categories as a percentage of total population.
This is what I made so far,

Now, in the ovals what I figured I'd do is make a button that will be a equal sign, =, that when pressed will you give the percent of that age group population of the total population. I figured this would be the easiest way at going at this, but please correct me if I'm wrong. So, my question is, how do I make a button display a textbox with read only that tells you the correct percent? I'm fairly new to the GUI of VB.net, but more of a bigger noob when it comes to the actual code.