Showing posts with the label c language

c program to reverse content in a file and print the content

C PROGRAM TO REVERSE TEXT IN A FILE AND PRINTING THE TEXT: 1)   Here, in the program first of all i created a file with some co… 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 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