- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
re: Need help on C# problem
Posted on 3/2/15 at 3:30 pm to MamouTiger65
Posted on 3/2/15 at 3:30 pm to MamouTiger65
It's not very good but that is all I got right now
There are some //Comments to try out different parts and some variables that aren't used up at the top
This post was edited on 3/2/15 at 3:31 pm
Posted on 3/2/15 at 3:40 pm to Hu_Flung_Pu
All of your code to prompt the user, store the values and check that the weights are valid should be inside of your loop.
do
{
Prompt user
If( value <> 0)
{
store value
prompt for after weight
while(weight is invalid)
{
Prompt user for valid weight
}
}
else
{
Print out summary
}
}
while(value <> 0)
do
{
Prompt user
If( value <> 0)
{
store value
prompt for after weight
while(weight is invalid)
{
Prompt user for valid weight
}
}
else
{
Print out summary
}
}
while(value <> 0)
Back to top
Follow TigerDroppings for LSU Football News