Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
Write the program to determine if a number entered from the keyboard is a prime number or not?
i
0 Voti
3 Risposte
29th Jun 2019, 6:43 PM
Mohammed Hussaini Musa
How to get the number which has the biggest amount of prime divisor in C++?
c++
0 Voti
1 Risposta
7th Dec 2021, 5:11 AM
Asra
The below is the code for executing prime numbers. Plzz explain how it is working
know
0 Voti
1 Risposta
1st Nov 2018, 7:12 PM
Syed Sibteali
Please help me write a program that out puts the multiplication of prime numbers when a number is in put
input
1 Voto
4 Risposte
21st Sep 2019, 6:23 AM
Kalenda Racheal
Q. :- take input from user and check it is a prime number or not
c++
0 Voti
1 Risposta
30th May 2018, 8:34 AM
Mahendra Kumar
Write a program to create a function to accept N number return how many prime number.
function
python
0 Voti
3 Risposte
28th Oct 2016, 3:38 AM
Rakesh
What is the mistake in logic of the following code?
nos
prime
0 Voti
2 Risposte
22nd Nov 2017, 2:04 PM
Saloni Singh
Have I done this code in right way? Is there another possible easy way to find a prime number?
kotlin
1 Voto
2 Risposte
10th Aug 2019, 8:11 PM
Plaban Kr. Mondal
How to generate prime numbers in python using for loop in an interval with explanation starting from number 2 to max
for
loop
numbers
prime
2 Voti
3 Risposte
18th Jun 2019, 5:52 AM
Shelly Kapoor
How to print prime numbers in a range between any two numbers using recursion?
c++
recursion
0 Voti
1 Risposta
21st Feb 2017, 6:36 PM
Mohamed Abdalla
How to make a program to determine if an integer is prime or not?
c
integer
primes
0 Voti
1 Risposta
18th May 2021, 10:23 PM
Brian Ayvar
Write a java program to print greatest prime number of between 1 to 500
java
0 Voti
1 Risposta
23rd Oct 2017, 3:11 PM
Amit
Given a natural number N. FIND the sum of all its divisors that are Prime Number. How Will this be resolved?
c++
1 Voto
7 Risposte
5th Dec 2018, 2:28 PM
Настя S
Please help out
prime
python3
twinprime
1 Voto
1 Risposta
20th Feb 2021, 3:35 PM
Akanksha Keshari
Guys! Help! In my code which answers is ur number prime or not , I have problem
code
help
prime
problem
python3
1 Voto
2 Risposte
23rd Dec 2018, 3:00 PM
multi_troll
i wanted to count the no. of prime no. givrn out as product but thats not happening pls help.
loop
prime
python3
1 Voto
4 Risposte
24th Nov 2018, 3:54 PM
partha
How do I write a simple c++ program to display the first 20 prime numbers
c++
0 Voti
2 Risposte
23rd Nov 2016, 8:06 PM
kobbygeorge
How can i write a code to print the sum of prime numbers from 0 to 120
functions
0 Voti
2 Risposte
19th Apr 2019, 10:25 AM
Muhammad Yusif Garba
I tried to make a simple python code to print prime numbers but it is not working as I expected can someone help please
code
cpython
faliure
math
primenumbers
python
python3
1 Voto
10 Risposte
18th May 2020, 1:35 PM
Ashraf Vp
Write a code or program which tells , whether an entered number is Prime or not.
c#
c++
java
javascript
python3
ruby
swift
1 Voto
2 Risposte
6th Dec 2017, 2:18 PM
Olam
how to write a code in cpp that determines whether the input integer is prime number or not??
cpp
0 Voti
2 Risposte
1st Oct 2019, 9:38 AM
Abdullah Khalid
Hello..i need a c++ code to find a prime number in 5x5 array and put the results in new array
array
c++
find
in
number
prime
2 Voti
5 Risposte
3rd Dec 2017, 11:56 AM
Memo
please help me with a program that enables one to print out all prime numbers between 10- 1000 and print their sum in java
java
2 Voti
9 Risposte
15th Jun 2018, 12:01 PM
Iwuanyanwu Fredrick
How to find that number is prime or not only just using if statement without else and without loop?
c++
0 Voti
2 Risposte
17th Nov 2019, 6:35 PM
Mubarak Hussain
Write a program to print all the prime factor of number in python entered through keyboard.
numeric-operations
python
0 Voti
1 Risposta
2nd Nov 2019, 8:19 AM
vikrant soni
I have a code to print all the prime numbers upto a given limit which user inputs. Its not working. What's wrong?
lists
python
1 Voto
6 Risposte
7th May 2020, 11:35 AM
Kaushik Nandan
1. Program to check if a number can be displayed as a sum of two prime numbers
c
prime
sum
2 Voti
1 Risposta
27th Mar 2018, 9:19 AM
Dinesh S
Write a program using user defined function that will display all prime integers that the user enters
c
0 Voti
1 Risposta
11th Dec 2021, 7:52 PM
Kubasu Ivan
What is the warning in this code?
c
function
prime
warning
1 Voto
5 Risposte
26th Jan 2022, 5:35 PM
Amateur
Help me solve this to get output like this for m=7 n=14 for m=700 n=707 and.... n%3==2 , n/7=prime number
c
c++
help
number
prime
solve
1 Voto
18 Risposte
15th Nov 2020, 10:09 PM
Ali .N
Hey guys! Can someone teach me how to generate even,odd and prime numbers in flowchart? Thanks in advance😊
c#
c++
flowchart
html
0 Voti
4 Risposte
21st Jul 2017, 11:50 AM
Aloha Mae Rondina
Write a PHP code to accept a number and determine whether the number is PRIME or not
accept
code
number
php
prime
to
0 Voti
1 Risposta
17th Aug 2022, 10:49 PM
Isah Baba Ibrahim
Code wont work
error
logic
prime
0 Voti
2 Risposte
1st Aug 2018, 3:38 PM
Ahan
Program to print prime numbers upto a number given by user in command line argument in java.
java
1 Voto
1 Risposta
27th Mar 2018, 2:02 PM
OP Coder
I want to count the number of prime number from 1 upto the input number. Can't figure out what's wrong with my code.
java
0 Voti
6 Risposte
27th Dec 2019, 3:27 PM
Sayeef
Challeng number: the prime numbers are the numbers that can be divided by itself and number(1)only .2,3,5,7,11,13...
challenges
number
primary
1 Voto
2 Risposte
29th Jul 2017, 2:17 PM
Farhad Salih
Write a function isPrime() that takes integer n and determine whether n is a prime number or not
c++
functions
0 Voti
3 Risposte
9th Nov 2016, 11:18 AM
Samadov Abdullokh
Hi friends! How do you create a code that checks if a number is a prime number or not in python?
python
1 Voto
2 Risposte
3rd Jul 2020, 12:02 AM
Ikimi Daniel
Why do we have the limit as half of the number to check whether the no is prime or not?
composite
or
prime
3 Voti
2 Risposte
19th Dec 2017, 3:01 PM
Subha
Write a C program or Java program to check whether the given input is Prime number or not
codersquest
cprogram
javaprogram
0 Voti
1 Risposta
4th May 2019, 1:46 PM
Hina Kauser
It's a program to find prime numbers between two limits..why here a count variable is used??anyone explain the below code
c++
prime_numbers
4 Voti
2 Risposte
7th Jun 2017, 4:00 PM
MUʜAMMED ɪʟʟYAS
Write a function sumprimes(l) that takes as input a list of integers and retuns the sum of all the prime numbers in l.
python
0 Voti
3 Risposte
10th Feb 2017, 4:31 PM
Kannan M
Write a program for :-[(addition of all the prime no.)/2] between any two no. In c++
c++
0 Voti
2 Risposte
16th Oct 2016, 3:09 PM
Chinmay Deo
I want to write a code to check if a given number is Prime or not.
c++
0 Voti
2 Risposte
30th Aug 2016, 11:41 AM
Soledolu Oluwatayo
Why this code prints the output 2 times?
output
prime
python3
0 Voti
2 Risposte
16th Oct 2022, 3:33 AM
Amateur
What is prime factor in c++ , and how to find out with the help of using loop?
c++
factor
prime
primefactor
0 Voti
2 Risposte
27th Apr 2018, 12:39 PM
Gohar Zubair Khan
write a program to check whether the given number is prime or not using for loop
c++
loops
0 Voti
2 Risposte
3rd Oct 2016, 4:53 PM
Avi Shukla
Write a program which take input a number and tells that it is prime or not?
loop
0 Voti
2 Risposte
25th Oct 2017, 11:59 AM
Himanshu Mishra
How can i make an array in my class that contains prime numbers for example, using my method isPrime
arrays
c#
classes
loops
1 Voto
1 Risposta
17th Jul 2020, 1:22 PM
Ali Emir Altın
How to filter only the prime numbers in a given list using lambda function and list comprehension using python ?
python3
-1 Voto
2 Risposte
21st May 2019, 3:17 AM
Krishna
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
10
11
12
13
Successivo >
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
How to Get Better at Solving Programming Problems
0 Votes