ok, so it will treat all characters as integers, so how would I get the program to return 'This is not a digit' when I enter some other than 0-9?
Type: Posts; User: Andrew Webb
ok, so it will treat all characters as integers, so how would I get the program to return 'This is not a digit' when I enter some other than 0-9?
Thanks for the reply,
The problem I'm having is if I enter a letter or symbol I will get the message 'zero'. I want it to print 'NOT A DIGIT' and I can't see why it's not doing that.
Hi, I'm writing a program, using switch statements only, and the problem is below:
Write a program, digitsToWords.c, that prompts the user to input a character in the range '0' to'9' (i.e. a digit...
Thanks for all the help. The reason Im using bubblesort is because thats the example our tutor gave us to use. I think Il stick with that because I don't want to get myself even more confused so...
Hi, Im hoping someone can give me some guidance point me in the right direction with an assignment I have.
I have done the first part, i think??, which is to allow the user to enter up to 10...