![]() |
Validating data
Hey all
Basically, I am trying to get my head around data validation. I am very new to C, in fact I have only been doing it a few days. I am trying to make a simple currency converter that validates that the data is numerical. Alos, I would like the app to exit if the user enters exit (in upper or lower case) This is what I have so far Code:
#include <stdio.h>edit: oh yea, btw, I only want it to convert from one to another at the mo Thankyou! |
Re: Validating data
You put
Code:
printf("Please enter the amount you want to convert in GBP. "); //Get users input |
| All times are GMT +5.5. The time now is 22:35. |