## Search results

1. ### C program to print diamond pattern

Diamond pattern in C language: This code prints diamond pattern of stars. The diamond shape is as ... = window.adsbygoogle || []).push({}); C programming code #include <stdio.h>   ... main ( ) {   int n , c , k , space = 1 ;     printf ( ...

yogesh - 28/09/2018 - 08:04

2. ### C program to generate random numbers

C program to generate pseudo-random numbers using rand and random function (Turbo C compiler only). As the random numbers are generated by an algorithm used in a ... = window.adsbygoogle || []).push({}); C programming code using rand We use modulus operator in our program. If ...

yogesh - 29/09/2018 - 15:28

3. ### C program to print a string

C program to print a string: it can be printed by using various functions such ...     char z [ 100 ] = "I am learning C programming language." ;       printf ( ... ; } Output: I am learning C programming language. (adsbygoogle = ...

yogesh - 01/10/2018 - 17:15

4. ### C program to count number of vowels in a string

C program to count number of vowels in a string: for example, in the string ... || []).push({}); Count vowels in a string in C #include <stdio.h>   int main ( ) {   int c = 0 , count = 0 ;   char s [ 1000 ...

yogesh - 03/10/2018 - 17:54

5. ### Sum of digits in C

C program to calculate the sum of digits of a number: we will use modulus ... = window.adsbygoogle || []).push({}); C programming code #include <stdio.h>   ... = 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 - 28/09/2018 - 07:41

6. ### Fibonacci series C program

Fibonacci series in C programming: C program for Fibonacci series using a loop and recursion . Using the code ... || []).push({}); Fibonacci series C program using a for loop /* Fibonacci series program in C ...

yogesh - 11/10/2018 - 19:30

7. ### C program to sort a string in alphabetic order

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

yogesh - 11/10/2018 - 07:46

8. ### C program for bubble sort

C program for bubble sort: C programming code for bubble sort to sort numbers or arrange them in ascending ... Bubble sort algorithm implementation in C /* Bubble sort code */   #include ...

yogesh - 29/09/2018 - 18:51

9. ### Web browser project in C, C program to open a website/url

C program to open a website entered by a user. It will launch Mozilla Firefox ... web browser then you can change path in the program. C programming code #include <stdio.h> #include ... , * ptr ;   char a [ ] = "C: \\ Progra~1 \\ Mozill~1 \\ firefox " ;     ...

yogesh - 19/10/2018 - 16:12

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

C program to add, subtract, multiply and divide complex numbers. It is a menu ... = window.adsbygoogle || []).push({}); C programming code #include <stdio.h> #include ... y , z ;   struct complex a , b , c ;     while ( 1 )   { ...

yogesh - 11/10/2018 - 08:11