• Register

Recent posts tagged prime

18 0 1 min.
Introduction whole number in python:Today we will talk about the very important question of how to check whether the numbers are whole or not in Python. For this we create a program and first we take the number from the user. So whatever number is ta...
posted Jul 12 Tania 800 points
0 0 2 min.
By the definition, a number can be called as a prime if it is divisible only by itself and 1. Here we have to find all primes in between 1 and 100. So that the range of given numbers is starting from 1 and ending with 100.Formula to find prime number...
posted Jun 28 mhfaisal 415 points
8 0 1 min.
Display prime numbers between two intervals#include <stdio.h> int main() { int low, high, i, flag; printf("Enter two numbers(intervals): "); scanf("%d %d", &low, &high); printf("Prime numbers between %d and %d are: ", low, ...
posted May 20 Sanjana Sagar 499 points
0 0 1 min.
Prime number in Java: Prime number is a number that is greater than 1 and divided by 1 or itself only. In other words, prime numbers can't be divided by other numbers than itself or 1. For example 2, 3, 5, 7, 11, 13, 17.... are the prim...
posted May 17 muliemes 100 points
0 0 2 min.
In this article, you will learn how to check whether a number is prime or not. This is done using a for loop and a while loop in Java.A prime number is a number that is divisible by only two numbers: 1 and itself. So if any number is divisi...
posted Apr 13 amna 113,234 points
To see more, click for the full list of questions or popular tags.