GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Dec-2006, 20:05
liquidz76 liquidz76 is offline
New Member
 
Join Date: Dec 2006
Posts: 1
liquidz76 is on a distinguished road

Need assistance with looping


Hi everyone...

I'm currently taking a C++ course and am enjoying it. I'm trying to get this assignment completed, and although it compiles and runs fine, I have not been able to get the right actions to occur.

I basically need the program to do the following:

1. Accept user input (1 - 5) for currency conversion type
2. If invalid entry, prompt for re-entry until it is valid
3. If a valid entry is made, prompt for conversion amount, then loop again to ask for another conversion.
4. (optional) Allow ability to end program at any time

It seems to work well with error-checking, but I can't seem to get my loops and switches to work as instructed above.

Any thoughts??

Source code is attached...

Thanks so much!!
Attached Files
File Type: txt currencyconvert.txt (4.3 KB, 10 views)
 
 

Recent GIDBlogToyota - 2008 November Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Looping Question Gamer_2k4 C++ Forum 4 06-Nov-2006 17:23
Need help with Looping Harryt123 C Programming Language 4 21-May-2006 15:45
Looping fj8283888 C++ Forum 8 11-Apr-2006 22:12
ask looping likeit C Programming Language 4 26-Jul-2005 20:49
for looping prob Rosmayati C Programming Language 1 30-Jun-2004 12:39

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:36.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.