>>Would anybody know a way to repeat a program
use a loop
while( not done )
{
// display menu
// get input
// if 'Q' entered then exit the loop
// do something
}
Not sure what you are trying to do that that code you posted. But rate = rate; doesn't do anything, so you might as well just replace it with a simple semicolon.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
wish i was good at this! humph!!
You will be. Hooray!!!
Just takes practice...
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944