You are here

Page not found

Search results

  1. Fibonacci series in C

    Fibonacci series in C using a loop and recursion . You can print as many terms of the series as ... || []).push({}); Fibonacci series program in C #include <stdio.h> int main ( ) {   int ... , first = 0 , second = 1 , next , c ;   printf ( "Enter the number of terms \n " ) ; ...

    Yogesh Suneja - 25/10/2020 - 23:45

  2. Selection sort in C

    Selection sort in C to sort numbers of an array in ascending order. With a little modification, ... || []).push({}); Selection sort program in C #include <stdio.h> int main ( ) {   int array [ 100 ] , n , c , d , position , t ;   printf ( "Enter number of ...

    Yogesh Suneja - 25/10/2020 - 14:26

  3. 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 program #include <stdio.h> #include <stdlib.h> #include ... int no [ 26 ] = { 0 } , n , c , t , x ;   printf ( "Enter some text \n " ) ; ...

    Yogesh Suneja - 23/11/2019 - 11:40

  4. Print an int (integer) in C

    How to print an integer in C language? A user inputs an integer, and we print it. Input is done using ... and the number is printed on screen using printf. C program to print an int (integer) #include <stdio.h>   int ... Output of the program: C program to print first hundred positive integers [1, 100] using a for loop: ...

    Yogesh Suneja - 12/10/2020 - 22:40

  5. Remove vowels from a string in C

    C program to remove or delete vowels from a string. If the input is "C programming," then the output is "C prgrmmng." In the program, we create a new string and process input ...

    Yogesh Suneja - 11/10/2020 - 23:29

  6. Area of a triangle in C

    C program to find the area of a triangle using Heron's or Hero's formula. The ... The program assumes that a user will enter valid input. C program to find area of a triangle #include <stdio.h> #include ... int main ( ) {   double a , b , c , s , area ;   printf ( "Enter sides of a triangle \n ...

    Yogesh Suneja - 23/11/2019 - 11:40

  7. C program to find HCF and LCM

    C program to find HCF and LCM: The code below finds the highest common factor ... || []).push({}); HCF of two numbers in C #include <stdio.h> int main ( ) {   int a ... HCF and LCM program. Output of program: C program to find hcf and lcm using recursion #include <stdio.h> ...

    Yogesh Suneja - 10/12/2019 - 20:50

  8. C program for pattern matching

    Pattern matching in C: C program to check if a string is present in an another string, for example, the string "programming" is present in the string "C programming". If it's present, then its location (i.e. at which position it's ...

    Yogesh Suneja - 01/12/2019 - 08:56

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

    C program to find the frequency of characters in a string: This program counts ... For example, in the string "code" each of the characters 'c,' 'd,' 'e,' and 'o' has occurred one time. Only lower case alphabets ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <string.h> int ...

    Yogesh Suneja - 23/11/2019 - 11:40

  10. Function overloading in C++

    ... known as compile-time polymorphism. Function overloading C++ program #include <iostream> using namespace std ; ... ( ) {   int a, b, x ;   float c, d, y ;   cout << "Enter two integers \n " ;   ...

    Yogesh Suneja - 31/10/2019 - 22:18

Pages