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 language whenever we divide an integer by an another integer we get an ...

    yogesh - 19/05/2018 - 18:39

  2. textcolor in c

    ... function is used to change the color of drawing text in C programs. Declaration: void textcolor(int color); where color is an ... = window.adsbygoogle || []).push({}); C programming code to change text color #include<stdio.h> ...

    yogesh - 09/06/2018 - 20:50

  3. Conditional compilation in C programming language

    Conditional compilation in C programming language: Conditional compilation as the name implies that the ... the following code to quickly understand the scenario: C programming code #include <stdio.h>   #define x 10   ... 0 ; } Conditional compilation example in C language #include <stdio.h>   int main ( ) { ...

    yogesh - 09/06/2018 - 20:50

  4. 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 ... = window.adsbygoogle || []).push({}); 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 - 19/05/2018 - 21:30

  5. 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 - 19/05/2018 - 21:33

  6. C program to print Floyd's triangle

    C program to print Floyd's triangle:- This program prints Floyd's triangle. A ... = window.adsbygoogle || []).push({}); C programming code #include <stdio.h>   int main ( ) { int n , i , c , a = 1 ;   printf ( "Enter the number of rows of ...

    yogesh - 20/05/2018 - 10:45

  7. Matrix addition in C

    Matrix addition in C: C program to add two matrices, i.e., compute the sum of two matrices and then ... || []).push({}); Addition of two matrix in C C program for matrix addition: #include <stdio.h>   int ...

    yogesh - 29/05/2018 - 17:11

  8. 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 - 19/05/2018 - 21:32

  9. Print an integer in C

    Print an integer in C language: a user will input an integer, and it will be printed. Input is done ... and number is printed on the screen using printf. C program to print an integer #include <stdio.h>   int main ( ... Output of the program: In C language we have data types for different types of data, for integers, it is ...

    yogesh - 19/05/2018 - 21:34

  10. C program to sort a string in alphabetic order

    C program to sort a string in alphabetic order: For example, if a user will ... = window.adsbygoogle || []).push({}); C programming code #include <stdio.h> #include <stdlib.h> ... int no [ 26 ] = { 0 } , n , c , t , x ;   printf ( "Enter some text \n " ) ; ...

    yogesh - 19/05/2018 - 21:29

Pages