/* 3digits.c - Take any 3-digit number and arrange its digits in * descending order and in ascending order and subtract the larger * number from...
The code you have shown looks file to me. Make sure that you initialise count to zero before you start the loop.
If you are on Unix/Linux system check out "man 3 printf" It's bit heavy going but concentrate on the section showing the formatting chars.
I'd be looking for Kernighan & Ritchie "C Programming Language"
Hi folks. I'm a retired guy who loves to program in C. Yes I've done a bit of C++ especially the Borland C++ Builder a few years ago. But C just...
Separate names with a comma.