Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
how to take a integer N as input from user and after that take N spaced integers as input and store them in a single list
python
python3
0 Votes
4 Answers
5th Jan 2020, 12:42 AM
Leman Kirme
Make list out of integer value in python
integers
lists
python
python3
0 Votes
2 Answers
1st Dec 2022, 6:12 AM
Lev
Can anyone teach me how to write a c program that accepts 10 integers and output the product of the numbers
c
0 Votes
2 Answers
22nd Sep 2022, 8:14 AM
CRUSTY
Negative integers in reverse order in c program array Please help in this . I WAS stucked in the program
cprogram
-1 Vote
2 Answers
25th Jul 2021, 6:40 AM
Kesavan Mech
Write a program that populates a LIST with random integers from 10-60, then calls a function that divides the list into two
c++
0 Votes
2 Answers
6th Jul 2022, 7:41 AM
Isaac Sule
Getting input value as a character instead of an integer
integers
javascript
math.random
variables
3 Votes
2 Answers
2nd Jan 2018, 6:36 PM
Luca Marseglia
Write C++ code to accept input and add integers from 1 to 10 and print their sum.
c++
0 Votes
1 Answer
17th Oct 2017, 5:46 PM
focus
Given an array of integers as input, find the length of longest series of same numbers in the array. Also print that number.
array
fun
java
length
series
2 Votes
4 Answers
20th Sep 2017, 6:53 AM
Sahil Luthra
Why does floats in python round always result to a rounded down figure even if the digit before the decimal point is (>=5)
decimalpoint
floats
integers
py
python
rounddown
1 Vote
9 Answers
3rd Nov 2020, 2:59 PM
Wizking
Make a C program that allow user to list integers and then the program will tell what was the largest integer and times it occur
sololearn
0 Votes
7 Answers
9th Sep 2018, 7:26 AM
Sky
How do i partition inputed integers of about 5 or more entries, since i want to return or display the input.
prompt()
0 Votes
3 Answers
22nd Sep 2018, 3:04 PM
Omotesho Olusegun
Hello, I need help. I don't know how to shrink code. It is ok for integers but not for 12-digits number. It becomes dumped.
c++
1 Vote
3 Answers
27th Sep 2021, 7:27 PM
TeaserCode
Which type of variable we will use if we have both integers and alphabets in a same 'variable'..?
java
variables
0 Votes
2 Answers
7th Feb 2017, 12:35 AM
Muhammad Ahsan
[ ASSIGNMENT: ] Transform To Prime
assignment
integers
list
minimum
numbers
positive
prime
sum
task
transform
27 Votes
12 Answers
2nd Jun 2018, 9:28 AM
Danijel Ivanović
how do i generate the maximum and minimum values entered by a user when i ask the user to input five integers
python
0 Votes
4 Answers
27th Jul 2016, 2:41 PM
Elijah Arhinful
In c++ code, suppose user submit char instead of integers then how can i display a error msg that's you have wrongly submit?
c
c++
compiler
dsa
help
program
1 Vote
2 Answers
29th May 2021, 12:42 PM
KAUSHAL KUMAR
use for...while loop and do...while loop to find the factoria of n positive integers between 1 and 50
c++
0 Votes
1 Answer
26th Aug 2018, 3:51 PM
Ojurommy Oluwaseun Oluwadermmylare Oluwafemmy
[ ASSIGNMENT: ] Form The Minimum [ UPDATE: ] Form The minValue Without Leading Zero!
assignment
form
integers
java
languages
method
minimum
positive
task
value
29 Votes
16 Answers
2nd May 2018, 9:28 AM
Danijel Ivanović
Can anyone tell me the code (in python or java) to find the value of three integers such that the sum of their cubes is 33
code
java
math
python
teaser
2 Votes
2 Answers
6th Apr 2019, 5:01 PM
Rajneesh Singh
How to get int out of string in Java
casting
input
integers
java
strings
0 Votes
5 Answers
16th Apr 2018, 2:54 PM
Jan Štěch
C++ (integers' length, easy and fast)
c++
easy
integers
length
3 Votes
1 Answer
19th Dec 2017, 5:39 PM
CuriousCI
Can anyone help me to solve a program. i.e. Form a largest possible integer x by concatenating n integers
python
sort
0 Votes
1 Answer
15th May 2020, 5:47 AM
KARTHIK K
Write a program that asks the user to enter a list of positive or negative integers using the integer 0 as the sentinel.
c++
help
problem
question
0 Votes
3 Answers
1st Jul 2021, 4:21 AM
Rao Muzaffar
How do i format a block of code to only receive data in string form and reject integers and vice versa?
c++
0 Votes
2 Answers
19th Jul 2018, 6:36 PM
Augustine
Error Trouble
floats
inplaceoperators
inputs
integers
python
0 Votes
5 Answers
15th May 2018, 3:36 PM
Brenden Preiss
I used an OR operator in my if-else statement, I put two integers in the condition separated by ||. Syntax error shows..Why??
error
operators
or
1 Vote
3 Answers
24th Nov 2016, 3:35 PM
Aniket
Perfect Sum Problem (Print all subsets with given sum) Given an array of integers and a sum, the task is to print all subsets
java
-1 Vote
4 Answers
2nd Oct 2017, 5:33 PM
Code_adi
How can I take many integers from a form post and put them into an array? But that array as a variable after which I foreach ..
arrays
php
variables
0 Votes
6 Answers
16th Jan 2020, 5:17 PM
⊹≒tɧε8шσσɖɕนttεг≓⊹
'write a function that accepts an array of non negative integers and returns the second largest integer in the array.
arrays
0 Votes
2 Answers
18th Feb 2017, 2:23 PM
Ricardo Chitagu
How to write a program dat reads a set of integers then displays the sum of all even nos. & sum of all odd nos.
java
1 Vote
3 Answers
16th Aug 2018, 5:52 AM
John Kevin Laurencio
Is this logic wrong? Q - Wap to add up all odd integers till 15. P.S - New to programming and this is my first language
c++
forloop
loops
1 Vote
3 Answers
23rd Oct 2019, 3:50 PM
Dipanjan Basu
Write a program using for loop that finds the sum of squares of the integers from 1 to n.
c++
0 Votes
1 Answer
3rd Apr 2017, 2:08 PM
Tehreem
Yo find the sum of any number of integers entered as comnand line argument , help of using array.
java
-4 Votes
3 Answers
4th Mar 2019, 1:28 PM
Rabi Sil
In a switch statement is it possible to use a string variable or can you only use integers (c#)
c#
switch-statement
1 Vote
1 Answer
2nd Jun 2017, 8:00 PM
James Murphy
A program that ask a user to type 10 integer of an array and integer v.the program must search if v is in array of 10 integers
help
2 Votes
5 Answers
1st Jun 2017, 8:26 AM
Joe Justin
How to use an integer as a percentage in C# (Without using doubles)
arguments
c#
integers
passing
percentage
0 Votes
2 Answers
14th Jun 2021, 3:34 AM
Doriiion
I used an OR operator in my if-else statement, I put two integers in the condition separated by ||. Syntax error shows..Why??
error
operators
or
0 Votes
3 Answers
24th Nov 2016, 3:35 PM
Aniket
writt a Python program that use an if statement to find the smallest of three given integers without using the min function?
python
1 Vote
2 Answers
12th Nov 2017, 6:39 AM
Belal channel
How to make a function that takes a sorted list of integers and returns index of a given number by using binary search?
python3
0 Votes
2 Answers
11th Aug 2019, 8:24 AM
Beki Mehari
write a function in JavaScript or python that takes an array of integers and determines if the array is Arithmetic or Geometric
javascript
logic
puzzle
python
1 Vote
2 Answers
26th Jun 2017, 9:22 PM
Elijah Bobzom
Write a simple C++ program to accept 3 integers as inputs from user. Display the maximum integer to the screen.
c++
-1 Vote
2 Answers
17th Feb 2018, 10:38 PM
Ike_Dai
Plz give me the code to reverse a string of integers and store the reversed string in another array.thanks un advance.
c++
0 Votes
2 Answers
29th Dec 2016, 8:21 AM
Raaman Kilaru
Please why is the code not working as expected. I inserted some integers and the code is expected to sort the out in asending
bubble
java
sorting
0 Votes
2 Answers
2nd May 2020, 11:02 AM
David Felix
Let's say you have a list of N+1 integers between 1 and N. You know there's at least one duplicate, but there might be more.
c++
java
python
sololearn
2 Votes
2 Answers
14th Nov 2017, 6:59 AM
SaiKumar
Enter n positive integers to print out the prime numbers in the sequence and the number of primes and max of all that primes
c++
0 Votes
1 Answer
8th Oct 2019, 2:38 PM
Lalala
How can i add commas in between numbers which come as an output
functions
integers
math
physics
python
python3
1 Vote
2 Answers
22nd Oct 2023, 3:27 PM
P A Arrchith Iyer
How do you make a program that if error occurs, I want to print something instead of the shell giving you value error report?
else-statements
error
float
if-statements
input
int
integers
python
value-types
2 Votes
10 Answers
12th Jul 2019, 5:02 AM
Leonardo Ginting
Suppose you draw three dices(using integers 1 to 6). Print all possible cases that the sum of them is equal to 10.
loop
0 Votes
1 Answer
17th Oct 2019, 7:01 AM
Okhunjon Mamajonov
How to write a program that will multiply the sum 5 and 6 by 57.3??!??
beginning
float
integers
multiplying
python
strings
0 Votes
4 Answers
11th Feb 2022, 12:10 PM
nur ain syamila rozeli
There is an array which consists of n integers . we have to delete items which are equal . First equal item is declared .
c++
2 Votes
1 Answer
18th Mar 2018, 10:22 AM
Jakhongir
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
7
8
9
Next >
Hot today
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Odd even threads without condition variable
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes