C program to check whether a given string is palindrome or not

Write a C program to read a string and check whether it is a palindrome or not (without using library functions). Output the given string along with suitable message.Palindrome is a word, sentence, group of characters, or number, that remains same, when reversed. For example: GADAG, 9009… Read more about C Programming Language . /*********************************************************** …

C Program to Find the Transpose of a Matrix — Rectangular and In-Place Square

The transpose of a matrix is formed by flipping it over its main diagonal — rows become columns and columns become rows. If the original matrix is of order M×N, its transpose is of order N×M, where element A[i][j] becomes B[j][i]. Matrix A (3×2): Transpose B (2×3): 1 2 1 3 5 3 4 → …

C Program to evaluate the given polynomial P(x)=AnXn + An-1Xn-1 + An-2Xn-2+… +A1X + A0, by reading its coefficents into an array.

Write a C program to evaluate the given polynomial P(x)=AnXn + An-1Xn-1 + An-2Xn-2+… +A1X + A0, by reading its coefficents into an array.A Polynomial is a mathematical expression involving a sum of powers in one or more variables multiplied by coefficients. Read more about C Programming Language . /************************************************************ You can use all the …

C Program To Find The Sum & Average

C Program to Find Sum and Average of an Array This program reads N integers (positive, negative, and zero) into an array and computes three values: the sum of negatives, the sum of positives, and the average of all elements. Algorithm Read N (array size) from the user. Read N integers into the array one …

C program to find the GCD and LCM of two integers

Write a C program to find the GCD and LCM of two integers output the results along with the given integers. Use Euclids’ algorithm to find the GCD and LCM. Euclids’ algorithm uses the division algorithm which repeatedly divides starting from the two numbers we want to find the GCD of until we get a …

C Program to find the number and sum of all integers from 100 to 200 which is divisible by 7

Example programs to solve the problems of Arrays in C. C program to find the number and sum of all integers from 100to 200 which is divisible by 7. Read more about C Programming Language . Read more Similar C Programs Array In C Simple C Programs You can easily select the code by double …