You are here

Page not found

Search results

  1. 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 Suneja - 23/11/2019 - 11:40

  2. clrscr in C

    Function "clrscr" (works in Turbo C++ compiler only) clears the screen and moves the cursor to the upper ... use system function to execute the clear/cls command. C programming code for clrscr #include<stdio.h> ... will be printed. Function clrscr doesn't work in Dev C++ compiler. Use the cleardevice function instead of clrscr in graphics ...

    Yogesh Suneja - 05/12/2019 - 23:07

  3. Armstrong number in C

    Armstrong number C program to check whether a number is an Armstrong number or not, it's a ... then the number is an Armstrong number otherwise not. C program to print Armstrong numbers ... + 1 + 823543 +128 + 78125) Armstrong number program in C #include <stdio.h> int power ( int , int ) ...

    Yogesh Suneja - 12/12/2019 - 21:06

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. putimage function in c

    ... at (left, top). ptr points to the area in memory where the source image is stored. The op argument specifies a operator that controls how ... based on pixel already on screen and the corresponding source pixel in memory. Smiling face animation program using putimage. ...

    Yogesh Suneja - 28/12/2017 - 21:34

  10. 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

Pages