I\'m trying to write a simple code to check if a string only has numbers in it. So far it\'s not working, any help would be appreciated.
#include
for(i = 0 ; i <= numbers ; ++i) //how is this supposed to work.
Run the loop from 0 to 1 less than the length of the input.
0
1
length
for(i = 0 ; i < strlen(numbers) ; ++i)