This is a very simple C Language program that calculates the sum of digits of a 5 digit number. The 5 digit number is entered by the user. Here's the code and output of the program. Enjoy!!!
Showing posts with label simple c program. Show all posts
Showing posts with label simple c program. Show all posts
Simple C Program to check if number is Even or Odd
This is a simple C programs which checks if a given number is even or odd. An even number is one that is completely divisible by 2 and an odd number is one which is not.
Subscribe to:
Posts (Atom)