You are here

Page not found

Search results

  1. C program to reverse words in a string

    C program to reverse words in a string or sentence, for example, if the input string is "c++ ... Then repeat the previous step until the string ends. C program #include <stdio.h> #include <string.h> void ...

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

  2. Armstrong number in Java

    Java program to check if a number is Armstrong or not, it is a number that is equal to the sum of digits ...

    Yogesh Suneja - 05/12/2019 - 00:30

  3. C program to find the largest number in an array

    C program to find the largest number in an array using a function and without it . We also print the ... = window.adsbygoogle || []).push({}); C program to find largest number in an array #include <stdio.h> ...

    Yogesh Suneja - 11/10/2020 - 11:19

  4. Palindrome in C

    C program to check if a string or a number is palindrome or not . A palindrome string is one that reads the same ... A palindrome number is a number that is equal to its reverse. Algorithm to check Palindrome string Copy input string into ...

    Yogesh Suneja - 14/10/2020 - 19:48

  5. Pascal triangle in C

    C program to print the Pascal triangle that you might have studied while studying ... || []).push({}); Pascal triangle program in C language #include <stdio.h>   long factorial ... i , n , c ;     printf ( "Enter the number of rows you wish to see in pascal triangle \n " ) ;   ...

    Yogesh Suneja - 09/10/2020 - 23:22

  6. Factorial program in Java

    Java program to find factorial of a number, if the number is negative, then an error message is printed. You can ...

    Yogesh Suneja - 05/12/2019 - 00:13

  7. Java methods

    Java methods tutorial: Java program consists of one or more classes, and a class may contain method(s). A ... ( ) ;     System . out . println ( "Number of characters = " + n ) ;         // Replace ...

    Yogesh Suneja - 04/12/2019 - 19:51

  8. Java constructor

    A Java constructor is a method that is used to initialize an object. It has the ... an object   } } The output of the program: The program is the simplest example of a constructor. The ... can create as many constructors in a class as required. The number depends on the information we have about the attributes of an object ...

    Yogesh Suneja - 04/12/2019 - 20:53

  9. Sum of digits in C

    Sum of digits C program to calculate the sum of digits of a number, we use modulus operator (%) to extract individual digits of a number ... || []).push({}); Output of program: For example, if the input is 98, the variable sum is 0 ...

    Yogesh Suneja - 11/10/2020 - 19:06

  10. C++ program to reverse a string

    C++ program to reverse a string that a user will input, for example, if the user enters "hello," then "olleh" will be printed as output. C++ program #include <iostream> #include <cstring> using ...

    Yogesh Suneja - 23/11/2019 - 12:08

Pages