Guest_imported
New member
- Jan 1, 1970
- 0
I have just started with C programming, but i am stuck, please help.
I want to seperate user input and feed it to a function ie.
User inputs 2756,(up to 8 letter long)
i would like the number to split up into "2" "7" "5" and "6"
and to be feed into function ie,
add(2); followed by 7,5,6
i want to aviod writting lots of Scanf and Add() statements.
Please Help
I want to seperate user input and feed it to a function ie.
User inputs 2756,(up to 8 letter long)
i would like the number to split up into "2" "7" "5" and "6"
and to be feed into function ie,
add(2); followed by 7,5,6
i want to aviod writting lots of Scanf and Add() statements.
Please Help