Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
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 głosów
4 odpowiedzi
5th Jan 2020, 12:42 AM
Leman Kirme
Make list out of integer value in python
integers
lists
python
python3
0 głosów
2 odpowiedzi
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 głosów
2 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
2 odpowiedzi
6th Jul 2022, 7:41 AM
Isaac Sule
Write C++ code to accept input and add integers from 1 to 10 and print their sum.
c++
0 głosów
1 Odpowiedź
17th Oct 2017, 5:46 PM
focus
Getting input value as a character instead of an integer
integers
javascript
math.random
variables
3 głosów
2 odpowiedzi
2nd Jan 2018, 6:36 PM
Luca Marseglia
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 głosów
4 odpowiedzi
20th Sep 2017, 6:53 AM
Sahil Luthra
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 głosów
7 odpowiedzi
9th Sep 2018, 7:26 AM
Sky
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 Głos
9 odpowiedzi
3rd Nov 2020, 2:59 PM
Wizking
How do i partition inputed integers of about 5 or more entries, since i want to return or display the input.
prompt()
0 głosów
3 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
2 odpowiedzi
7th Feb 2017, 12:35 AM
Muhammad Ahsan
how do i generate the maximum and minimum values entered by a user when i ask the user to input five integers
python
0 głosów
4 odpowiedzi
27th Jul 2016, 2:41 PM
Elijah Arhinful
[ ASSIGNMENT: ] Transform To Prime
assignment
integers
list
minimum
numbers
positive
prime
sum
task
transform
27 głosów
12 odpowiedzi
2nd Jun 2018, 9:28 AM
Danijel Ivanović
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 Głos
2 odpowiedzi
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 głosów
1 Odpowiedź
26th Aug 2018, 3:51 PM
Ojurommy Oluwaseun Oluwadermmylare Oluwafemmy
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 głosów
2 odpowiedzi
6th Apr 2019, 5:01 PM
Rajneesh Singh
[ ASSIGNMENT: ] Form The Minimum [ UPDATE: ] Form The minValue Without Leading Zero!
assignment
form
integers
java
languages
method
minimum
positive
task
value
29 głosów
16 odpowiedzi
2nd May 2018, 9:28 AM
Danijel Ivanović
How to get int out of string in Java
casting
input
integers
java
strings
0 głosów
5 odpowiedzi
16th Apr 2018, 2:54 PM
Jan Štěch
Can anyone help me to solve a program. i.e. Form a largest possible integer x by concatenating n integers
python
sort
0 głosów
1 Odpowiedź
15th May 2020, 5:47 AM
KARTHIK K
C++ (integers' length, easy and fast)
c++
easy
integers
length
3 głosów
1 Odpowiedź
19th Dec 2017, 5:39 PM
CuriousCI
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 głosów
3 odpowiedzi
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 głosów
2 odpowiedzi
19th Jul 2018, 6:36 PM
Augustine
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 Głos
3 odpowiedzi
24th Nov 2016, 3:35 PM
Aniket
Error Trouble
floats
inplaceoperators
inputs
integers
python
0 głosów
5 odpowiedzi
15th May 2018, 3:36 PM
Brenden Preiss
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 Głos
4 odpowiedzi
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 głosów
6 odpowiedzi
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 głosów
2 odpowiedzi
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 Głos
3 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
1 Odpowiedź
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 głosów
3 odpowiedzi
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 Głos
1 Odpowiedź
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 głosów
5 odpowiedzi
1st Jun 2017, 8:26 AM
Joe Justin
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 głosów
3 odpowiedzi
24th Nov 2016, 3:35 PM
Aniket
How to use an integer as a percentage in C# (Without using doubles)
arguments
c#
integers
passing
percentage
0 głosów
2 odpowiedzi
14th Jun 2021, 3:34 AM
Doriiion
writt a Python program that use an if statement to find the smallest of three given integers without using the min function?
python
1 Głos
2 odpowiedzi
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 głosów
2 odpowiedzi
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 Głos
2 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
1 Odpowiedź
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 Głos
2 odpowiedzi
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 głosów
10 odpowiedzi
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 głosów
1 Odpowiedź
17th Oct 2019, 7:01 AM
Okhunjon Mamajonov
There is an array which consists of n integers . we have to delete items which are equal . First equal item is declared .
c++
2 głosów
1 Odpowiedź
18th Mar 2018, 10:22 AM
Jakhongir
How to write a program that will multiply the sum 5 and 6 by 57.3??!??
beginning
float
integers
multiplying
python
strings
0 głosów
4 odpowiedzi
11th Feb 2022, 12:10 PM
nur ain syamila rozeli
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
...
7
8
9
Dalej >
Popularne dzisiaj
is python better than JS
0 Votes
Most asked 3.0
0 Votes
Print("hello ,world!"[7:13][2])
0 Votes
How can i improve my code
1 Votes
Can anyone confirm this sololearn bug ?
0 Votes
How long does it take to learn to code or design?
0 Votes
Python Module in Sololearn
2 Votes
Would it be possible to store all your Python files in the same directory, and achieve data persistence?
0 Votes
Problem with hearts
1 Votes
Python
0 Votes