## Search results

1. ### cos in C - math.h

... Declaration: double cos(double); C programming code #include <stdio.h> #include <math.h>   int main ( ...

yogesh - 09/06/2018 - 20:50

2. ### C Game Programming Tutorial

... mouse button is clicked etc. Here you will find sample source code and programs, you can also download executable files so you can understand ...

yogesh - 12/12/2017 - 22:31

3. ### Linear search in C

Linear search in C programming: The following code implements linear search (Searching algorithm) which is used to find ... Linear search for multiple occurrences In the code below we will print all the locations at which required element is found ...

yogesh - 09/06/2018 - 20:50

4. ### C program to add, subtract, multiply and divide Complex Numbers, complex arithmetic

... || []).push({}); C programming code #include <stdio.h> #include <stdlib.h>   struct ...

yogesh - 21/05/2018 - 09:53

5. ### C program to find hcf and lcm

C program to find HCF and LCM: The code below find the highest common factor and the least common multiple of two ... (GCD) or the greatest common factor (GCF). C programming code #include <stdio.h>   int main ( ) { int a ...

yogesh - 19/05/2018 - 21:33

6. ### Armstrong number C program

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

yogesh - 19/05/2018 - 21:32

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

... then we check whether it is a vowel or a consonant. This code checks whether an input alphabet is a vowel or not. Both lower-case and ... ;   return 0 ; } C programming code #include <stdio.h>   int main ( ) { char ...

yogesh - 19/05/2018 - 21:30

8. ### Java program to find factorial

... printed. You can also find factorial using recursion, in the code the variable fact is an integer so only factorial of small numbers will be ... || []).push({}); Java programming code import java.util.Scanner ;   class Factorial { ...

yogesh - 19/05/2018 - 21:23

9. ### C program to find the frequency of characters in a string

... how many times in the string. For example, in the string "code" each of the characters 'c,' 'd,' 'e,' and 'o' has occurred one time. Only ... || []).push({}); C programming code #include <stdio.h> #include <string.h>   int main ( ...

yogesh - 19/05/2018 - 21:21

10. ### C program to print diamond pattern

Diamond pattern in C language: This code prints diamond pattern of stars. The diamond shape is as follows: * *** ***** *** * C programming code #include <stdio.h>   int main ( ) { int n ...

yogesh - 19/05/2018 - 21:17