C program to check whether a given integer number is positive or negative.

Write a C program to check whether a given integer number is positive or negative.Read more about C Programming Language . This program is available on GitHub @ https://github.com/snadahalli/cprograms/blob/master/posneg.c /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs for commercial purposes,* contact [email protected]* To find more C …

C program to check whether a given integer is odd or even.

Write a C program to check whether a given integer is odd or even.Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs for commercial purposes,* contact [email protected]* To find more C programs, do visit www.c-program-example.com* and browse!* …

C program to find the simple interest , given principle, rate of interest and time.

C program to find the simple interest , given principle, rate of interest and time. Simple Interest is the money paid by the borrower to the lender, based on the principle amount, Interest rate and the time period.Simple interest is calculated by, SI=P*T*R/100 formula.Where, P is the principle amount.T is the time period.R is the …

C program to find the area of a circle, given the radius

C program to find the area of a circle, given the radius. This is the simple C program to find the area of the circle, Here we define the PI value as macros, because it is constant through out the program. Read more about C Programming Language . /************************************************************ You can use all the programs …

C Program To Swap Two Variables

C Program To Swap Two Variables without using the third variable. This type of C programs are asked in various Interviews.There are various methods to achieve this one. For example, a=a+b;b=a-b;a=a-b;Here we use the XOR(^) operator to Swap Two Variables without using the third variable. Read more about C Programming Language . /************************************************************ You can …

C Program to check whether the given number is prime or not. Print the suitable messages.

C Program to check whether the given number is prime or not and Print the suitable messages. Prime number is a whole number and greater than 1, which is divisible by one or itself.Example: 2, 3, 5, 7, 11, 13………… Read more about C Programming Language . Read more Similar C ProgramsLearn C ProgrammingNumber System …

C Program to check whether a given 5 digit number is palindrome or not

C program to check whether a given 5 digit number is palindrome or not. Palindromic number is a number that remains same, when it is reversed or can be read in the same way in either direction.Example:12321, 23132… Read more about C Programming Language . Read more Similar C ProgramsLearn C ProgrammingNumber System You can …

C Program to find whether the given year is leap or not.

C Program to find whether the given year is leap or not. Leap year is a year, which is containing one extra day, i.e 366 days. In the leap year February contains the date 29. Read more about C Programming Language . Read more Similar C ProgramsLearn C ProgrammingNumber System You can easily select the …

C Program to generate n Fibonacci terms using array declaration.

Example programs to solve the problems of Arrays in C,C Program to generate n Fibonacci terms using array declaration. Fibonacci numbers are sequence of numbers starts from 0 and 1 , continue by adding previous number.Example: 0,1,1,2,3,5,8,13,…….. Read more about C Programming Language . Read more Similar C ProgramsArray In CNumber SystemSimple C Programs You …

C Program to convert a given decimal number into its binary equivalent

C Program to convert a given decimal number into its binary equivalent. In this program we convert the given decimal based number system(0, 1, 2, 3, —–,9) to Binary number system(0 and 1). Read more about C Programming Language . Read more Similar C Programs Array In C Number System Simple C Programs You can …