C Programs

Title Total views
C Program to accept two matrices and check if they are equal 1,697
Compute the value of X ^ N given X and N as inputs 827
Accept a string and find the number of times the word 'the' appears in it 1,703
Find the length of a string 4,671
Accept two strings and compare them 1,382
Convert number of days to number of years, weeks and days 1,589
Find whether a given year is leap year or not 1,098
Compute the surface area and volume of a cube 882
Check if a sub string present in a given string 3,517
User Authentication to access secured resources 1,395
Accept N integer numbers and store odd and even integers in separate arrays 1,240
Read N integers and store them in an array A, and find the sum of all these elements using pointer 1,227
Develop functions-to read a given matrix, to output a matrix, to compute the product of two matrices 1,033
Sort given N elements using SELECTION sort 2,182
Read n names, store them in the form of an array and sort them in alphabetical order 3,464
Read an English sentence and replace lowercase characters by uppercase and vice-versa 1,533
Evaluate the given polynomial P(x)=AnXn + An-1Xn-1 + An-2Xn-2+... +A1X + A0 3,232
Read four integer numbers into an array and find the average of largest two of the given numbers 776
Input real numbers and find the mean, variance and standard deviation 1,818
Input N numbers (integers or reals) and store them in an array 1,246
Read N integers (zero, +ve and -ve) into an array A and to find the sum 1,422
Find the value of cos(x) 2,210
Find the value of sin(x) 6,433
Find the sum of odd numbers and sum of even numbers from 1 to N 2,991
Find GCD and LCM of two integers 3,970
Simulate a simple calculator to perform arithmetic operations on integers 4,424
Check whether a given integer number is positive or negative 1,258
Check whether a given integer is odd or even 1,013
Find the simple interest , given principle rate of interest and times 2,019
Find the area of a circle, given the radius 1,551