When you start learning java programming, you get these type of problems in your assignment. Here we will see two Java programs, first program takes… [Read More]
Java Program to read integer value from the Standard Input
In this program we will see how to read an integer number entered by user. Scanner class is in java.util package. It is used for… [Read More]
Java Program to Add two Numbers
In this tutorial, you will learn how to write a Java program to add two numbers. This is one of the basic program which helps… [Read More]
C++ Program to display Armstrong Numbers between 1 and 1000
An integer number is known as Armstrong number if the sum of cubes of its individual digits is equal to the number itself. Here we… [Read More]
C++ Program to Check Armstrong Number using user-defined function
An integer number is called Armstrong number if sum of the cubes of its digits is equal to the number itself. For example, 371 is… [Read More]
C++ Program to check Armstrong Number
An integer number is called Armstrong number if sum of the cubes of its digits is equal to the number itself. For example: 370 is… [Read More]
C++ Program to check whether the input number is Even or Odd
An integer number which is evenly divisible by 2 is called even number. When I say evenly divisible, it means that if we divide the… [Read More]
C++ Program to display prime numbers from 1 to 100 and 1 to n
In this tutorial, we will see two programs 1) First program prints prime numbers from 1 to 100 2) Second program takes the value of… [Read More]
C++ Program to Check Prime Number using Function
A number which is only divisible by itself and 1 is known as prime number. For example 13 is a prime number because it is… [Read More]
C++ Program to Check whether an input number is Prime or not
A number which is only divisible by itself and 1 is known as prime number, for example: 5 is a prime number because it is… [Read More]
- « Previous Page
- 1
- …
- 83
- 84
- 85
- 86
- 87
- …
- 150
- Next Page »