You are here

Page not found

Search results

  1. Sum of digits in C

    Sum of digits C program to calculate the sum of digits of a number, we use modulus operator (%) ... || []).push({}); Output of program: For example, if the input is 98, the variable sum is 0 ... sum. Download Add digits program. C program to find sum of digits using for loop #include <stdio.h> int ...

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

  2. Sum of n numbers in C

    Sum of n numbers in C: This program adds n numbers that a user inputs. The user enters a number indicating ... = window.adsbygoogle || []).push({}); C program to find sum of n numbers using a for loop #include <stdio.h>   ...

    Yogesh Suneja - 10/12/2019 - 23:42

  3. Area of a triangle in C

    C program to find the area of a triangle using Heron's or Hero's formula. The input of the program is the lengths of sides of the triangle. The triangle exists if the sum ...

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

  4. Java methods

    Java methods tutorial: Java program consists of one or more classes, and a class may contain method(s). A ... Just call a method and get your work done :). You can find the list of methods in a class by typing following command on command ...

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

  5. Java constructor

    A Java constructor is a method that is used to initialize an object. It has the ... = window.adsbygoogle || []).push({}); Java constructor example class Programming {   ... an object   } } The output of the program: The program is the simplest example of a constructor. The ...

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

  6. Even odd program in Java

    Java program to check whether a number is even or odd; if it's divisible by two, ... it's even, otherwise, odd. We use the modulus operator to find the remainder. For an even number, it's zero when it's divided by two ...

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

  7. C program to find the largest of three numbers

    C program to find the largest of three numbers: User will input three integers and the program will find the largest of them. If all the numbers are the same then the ...

    Yogesh Suneja - 30/10/2019 - 22:45

  8. C program to find next prime palindrome

    C program to find next prime palindrome: a user will enter a number, and we have to find the ... if the input is 21 then the output will be 101. In the program, we check if a number is a palindrome and then check if it's prime as ...

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

  9. Even or odd program in C

    ... || []).push({}); Odd or even program in C using modulus operator #include <stdio.h> int ... = window.adsbygoogle || []).push({}); C program to find odd or even using bitwise operator #include <stdio.h> int ...

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

  10. C program to find maximum and minimum number in an array

    C program to find the maximum and minimum number in an array. A user will input the array ... find the largest and the smallest number in the array. C program #include <stdio.h> int main ( ) {   ...

    Yogesh Suneja - 24/11/2019 - 00:12

Pages