You are here

Page not found

Search results

  1. Sum of digits in C

    C program to calculate the sum of digits of a number: we will use modulus ... individual digits of a number and keep on adding them. C programming code #include <stdio.h>   int main ( ) { ... = sum + remainder so sum = 8 now. 98/10 = 9 because in c whenever we divide integer by another integer we get an integer. 9%10 = 9 ...

    yogesh - 05/01/2018 - 16:24

  2. C program to swap two numbers

    C program to swap two numbers with and without using third variable , using ... Swapping means interchanging. For example, if in your C program you have taken two variables a and b where a = 4 and b = 5, then ... a = 4, b = 5 after swapping a = 5, b = 4. In the first C program to swap numbers we will use a temporary variable to swap two numbers. ...

    yogesh - 05/01/2018 - 17:00

  3. C program for bubble sort

    C program for bubble sort: C programming code for bubble sort to sort numbers or arrange them in ascending ... order. Bubble sort algorithm implementation in C /* Bubble sort code */   #include <stdio.h>   int main ...

    yogesh - 06/01/2018 - 17:51

  4. source code for package

    Program access the package ...

    yogesh - 16/04/2011 - 18:02

  5. Fibonacci series C program

    Fibonacci series in C programming: C program for Fibonacci series using a loop and recursion . Using the code ... in Mathematics and Computer Science. Fibonacci series C program using for loop /* Fibonacci series program in C language */ ...

    yogesh - 06/01/2018 - 16:36

  6. Armstrong number c program

    Armstrong number C program: C programming code to check whether a number is an Armstrong number or not. An ... 2^7 +5^7 (1 + 823543 + 16384 + 1 + 823543 +128 + 78125) C programming code #include <stdio.h>   int power ( int ...

    yogesh - 06/01/2018 - 16:27

  7. C program to check whether a character is vowel or consonant

    C program to check whether a character is a vowel or consonant: In our program ... then we check whether it is a vowel or a consonant. C program to check vowel or consonant using if else #include <stdio.h> ... "Input a character \n " ) ; scanf ( "%c" , & ch ) ;   if ( ( ch >= 'a' && ch ...

    yogesh - 05/01/2018 - 16:07

  8. C program to print Floyd's triangle

    C program to print Floyd's triangle:- This program prints Floyd's triangle. A ... that in Floyd's triangle nth row contains n numbers. C programming code #include <stdio.h>   int main ( ) { int n , i , c , a = 1 ;   printf ( "Enter the number of rows of ...

    yogesh - 06/01/2018 - 16:41

  9. Transpose of a matrix in C

    Transpose of a matrix in C language: This C program prints transpose of a matrix. It is obtained by interchanging rows ... changes, but for a square matrix order remains the same. C program to find transpose of a matrix #include <stdio.h>   int ...

    yogesh - 11/01/2018 - 23:16

  10. C program to find hcf and lcm

    C program to find HCF and LCM: The code below find the highest common factor ... divisor (GCD) or the greatest common factor (GCF). C programming code #include <stdio.h>   int main ( ) { ... HCF and LCM program. Output of program: C program to find hcf and lcm using recursion #include <stdio.h>   ...

    yogesh - 05/01/2018 - 16:29

Pages