Link to home
Start Free TrialLog in
Avatar of lskair
lskairFlag for United States of America

asked on

Re-run program instead of exit

Hi there.  I would like to give the option to re-run the my program once it converts one of the choices.  Currently I have the program exiting after finding one currency conversion by:

  {
      printf("End of program");
      printf("\n");
      printf("Press Enter to close program.");
      }
      getchar ();
      return 0;
 }

I'm wondering how I can keep it open and have it give the option to "select another choice" or "start over".  I can provide the entire program if you need.  Thanks.

Becca
ASKER CERTIFIED SOLUTION
Avatar of evilrix
evilrix
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lskair

ASKER

Just what I was looking for.  I just found it in my book as well, but your comment confirmed it, so I'll give you the points.  Thanks again.

Becca