Showing posts from March, 2022

C program to find the given number is perfect factorial of a integer

PROGRAM TO FIND THE GIVEN NUMBER IS PERFECT FACTORIAL OF A INTEGER. IF YOU GIVE A NUMBER IT WILL BE THE INTEGER WHICH IS FACTOR… Read more

given a array of size n find all elements that appear more than n/k times in c

GIVEN AN ARRAY OF SIZE N , FIND ALL ELEMENTS THAT APPEAR MORE THAN N/K TIMES. EX: ENTER THE NO.OF DIGITS: 7 ENTER THE VALUE OF K… Read more

c program to find the string is palindrome or not

PROGRAM TO FIND PALINDROME STRING EX: enter the string malayalam malayam is a palindrome. PROGRAM: #include <stdio.h>  in… Read more

SPELL BEE CONTEST Given a pair of words (the first is the correct spelling and the second is the contestant’s spelling of the word) determine if the word is spelt correctly. The degree of correctness is as follows: CORRECT if it is an exact match ALMOST CORRECT if no more than 2 letters are wrong WRONG if 3 or more letters are wrong

Given a pair of words (the first is the correct spelling and the second is the contestant’s spelling of the word) determine if … Read more

c program for transpose of a matrix

C PROGRAM TO TRANSPOSE THE GIVEN MATRIX: EX: enter the no. of rows and columns of matrix 3  3 enter the elements in the matrix … Read more

C PROGRAM , TO SUM OF TWO DIAGONALS AND SUM OF ELEMENTS OF EACH DIAGONAL IN A MATRIX.

C PROGRAM , TO SUM OF TWO DIAGONALS AND SUM OF ELEMENTS OF EACH DIAGONAL. EX: enter the rows and columns  3 3  enter the element… Read more

C PROGRAM TO PRINT MINIMUM NUMBER IN EACH ROW AND MAXIMUM NUMBER IN EACH COLUMN AND COMMON ELEMENTS IN THEM

HI!!FRIENDS c program to find minimum number in each row and maximum number in each column and common elements in them. EX : n= … Read more

C PROGRAM TO FIND PRIME NUMBERS UPTO N

HI! FRIENDS TO FIND PRIME NUMBERS UPTO N: CODE: #include<stdio.h> int main() { int i,j,n,count; printf("Enter n"… Read more

C PROGRAM TO PRINT Nth PRIME NUMBER

HI ! FRIENDS TO FIND NTH PRIME NUMBER: CODE: #include <stdio.h> int main() {     int i,j,c=0,n,range=32767;     int a[100]… Read more

C PROGRAM TO TAKE N DIGIT NUMBER AND PRINT ROTATION OF NUMBER AND PRINT BIGGEST AMONG THEM

HI ! FRIENDS TO PRINT ROTATION OF THE NUMBER AND PRINT BIGGEST AMOUNG THEM: #include<stdio.h> int main() {     int r,q,s,n,… Read more

That is All