C Program to Evaluate sin(x) Taylor Series

The sine function can be computed from scratch using its Taylor series expansion: sin(x) = x − x³/3! + x⁵/5! − x⁷/7! + x⁹/9! − … Each term alternates in sign and uses an odd power of x divided by the corresponding factorial. As you add more terms, the partial sum converges toward the true …

C Program to accept two integers for a co-ordinate point and determine its Quadrant.

The Cartesian coordinate plane is divided into four quadrants by the X and Y axes. Given a point (x, y), this program determines which quadrant it lies in — or whether it falls on an axis or at the origin. The logic is a direct translation of the mathematical definitions into C’s if-else chain. Region …

Prime Number Program in C – Check if a Number is Prime

A prime number program in C checks whether a given integer is prime — divisible only by 1 and itself. Numbers like 2, 3, 5, 7, 11, and 13 are prime; 4, 6, 9, and 12 are not. This page covers two approaches: a basic trial division and an optimized version that skips even numbers, …

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.

A leap year has 366 days instead of 365, with February 29 as the extra day. The Gregorian calendar uses a four-part rule to decide whether a year is a leap year. This rule is one of the most commonly tested C interview questions because it requires a compound conditional with exactly the right operator …

C Program to Generate N Fibonacci Terms Using Array

The Fibonacci sequence starts with 0 and 1; each subsequent term is the sum of the two that precede it: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, … This program generates the first n terms by storing them in an array, then printing the full sequence. Using an array — rather than …