Forum: C Nov 10th, 2008 |
| Replies: 1 Views: 339 You don't reassign amount when you call AmountValidate from the main method.
amount_c=GetAmount();
amount_c=AmountValidate(amount_c); |
Forum: C Nov 4th, 2008 |
| Replies: 4 Views: 531 The problem is that your outer loop is checking for 0 to exit. So when you have an error condition you are exiting the loop. Is there a char you enter to exit the program? That's the value that... |