Corsi
Corsi
Compilatore di codice
Compilatore di codice
Discuti
Prezzi
Squadre
Accedi
Registrati
Menu
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
How can i write a C++ program to find the sum of all the digits of a number using WHILE.... statement?
c++
sololearn
while
1 Voto
1 Risposta
29th Oct 2022, 12:50 PM
WALTER CHIBUIKEM CHUKWUEMEKA
How to make an app that can save an X number of variables but it can't have any of the values repeated?
java
0 Voti
4 Risposte
16th Jan 2017, 1:29 AM
Ismael Illan
How to generate 256 random numbers without repeat?
c++
code
cpp
num
number
nums
rand
random
0 Voti
3 Risposte
9th Jan 2021, 11:56 AM
Влад Цислевский
How can I divide a range by integer that is each number of a range by integer?
ranges
ruby
0 Voti
2 Risposte
11th Sep 2017, 5:21 PM
Abeer Mahmood
can you help me to solve the challenge lvl1 question number 5 arrange that for me thanks..
c++
0 Voti
2 Risposte
21st Jun 2016, 2:17 PM
Terence John J. Morilao
Can number outputs only be represented in int or floats or are there any way to represent a square root in the output?
squareroot
2 Voti
3 Risposte
8th Aug 2017, 2:47 PM
HJ🐓TDM
I am having trouble with the syntax in the recursion example shown. I don't know what the "?" or the number "1" indicates?
functions
recursion
swift
syntax
2 Voti
3 Risposte
14th Oct 2016, 6:28 PM
Boris Ferguson
Write a JavaScript program to check two numbers and return true if one of the number is 100 or if the the sum of the two numbers
javascript
0 Voti
2 Risposte
21st Dec 2019, 9:33 AM
Karthick Mathesh
How about my code to find prime number with the least running time.Do you think my code can reduce looping-time...
java
0 Voti
3 Risposte
29th Sep 2017, 6:24 AM
Pyae Phyo Win
Hello, how can I add more than one number in the console using a scanner by writing one line code?
code
java
0 Voti
1 Risposta
2nd Jan 2023, 2:02 PM
Barxudan Abbas
#installed games games = [ 'Soccer', 'Tic Tac Toe', 'Snake', 'Puzzle', 'Rally'] #taking player's choice as a number input c
@--++tth
0 Voti
1 Risposta
12th Dec 2023, 12:45 PM
vankudoth vittal
A number a is a power of b if it is divisible by b and a/b is a power of b write a function called is_power
javasript
1 Voto
2 Risposte
5th May 2021, 7:30 PM
Maureen Muiru
Hi can anybody tell me when I code in compiler the sequence number 123.... In the left corner doesn't appear and that my coding
coding,
compiler,
0 Voti
3 Risposte
2nd May 2021, 5:44 AM
Naman Rajput
Return the number of even ints in the given array. Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1.
3
python
0 Voti
3 Risposte
20th Sep 2019, 6:23 AM
AMAN TOMAR
In python, is there a way to make an if statement run if a certain number of any of the given conditions are satisfied?
if-statements
python
2 Voti
3 Risposte
1st May 2017, 8:32 AM
Swapnodip
Pytho program which takes the lower limit and upper limit then find which of the number are prime number. Can't understand this?
python
-2 Voti
3 Risposte
4th Dec 2021, 9:19 AM
SAfiullaH KhoKhar
How to find the largest and the smallest number? whereby ,user need to enter how many number he/she want ,using for loop
c++
1 Voto
3 Risposte
10th Nov 2017, 1:42 AM
Muhammad Amin Bin Mohd Hafendi
Can i design a fuction for sqauring a number using value type in java....like we could do in c language?? Plz help...
reference-types
value-types
2 Voti
2 Risposte
28th Jan 2018, 2:50 PM
Satyam Rai
How can we build a program in which if we will put number so it will give it's spelling in JavaScript
alert
help
javascript
number
program
prompt
strings
type-conversion
0 Voti
2 Risposte
26th Feb 2019, 4:11 AM
Zainab Idrees
You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waitin
c++
-2 Voti
3 Risposte
31st Mar 2021, 4:58 PM
Sunil
How repeated numbers are shows using array
are
arrays
how
number
repeated
shows
using
0 Voti
3 Risposte
28th Nov 2019, 5:17 PM
Shalu Shendre
Given a number in the range of 100 and 999, write a program to accept input and validate this range. The program should exit if
progress
0 Voti
2 Risposte
5th Aug 2021, 9:13 AM
DENNIS OTIENO
Given an unsorted array of size n, WAP to find and display the number of elements between two elements a and b (both inclusive).
c
program
0 Voti
3 Risposte
8th Aug 2022, 1:15 PM
Aditya Khandelwal
Anyone knows how to code this --> "count the number of alphabets U and M when user put a sentence"
code
0 Voti
3 Risposte
18th Sep 2017, 11:19 AM
Fatin Athirah
Could someone explain me how nested for works?with an example of number maybe ,it will be so helpfull for me.
c++
0 Voti
3 Risposte
11th Nov 2017, 9:26 AM
David Crifz
i was wondering if their were some way that when the program run i would be able to see the number inputed along with the sign.
c++
operators
1 Voto
5 Risposte
20th Dec 2017, 11:20 PM
Çrimsøn Røsē
def main(): n = eval(input("How many numbers do you have? ")) sum = 0.0 for i in range(n): x = eval(input("Enter a number
python3
0 Voti
2 Risposte
22nd Jan 2022, 6:42 AM
Umar Nurudeen Ojo
in "basic programming", there is a "not isnumber" command to check whether the user inputs a number or not. is there in python?
basicsintax
isnumber
python
1 Voto
2 Risposte
15th Oct 2018, 1:46 PM
Bayu Saputra
Implement the yesOrNo () function, which asks for the number n. Next, we enter n numbers and store all entered numbers into an
array
go
scan
2 Voti
1 Risposta
23rd Oct 2021, 4:12 AM
Zhenis Otarbay
How to format a number in java to given decimal places? I mean a function similar to number.to fixed() in JavaScript
decimalplaces
java
1 Voto
2 Risposte
5th Nov 2016, 12:18 AM
Kingstone Job
Write a program to calculate the nearest integer number of the square root value of a number.
c
challenges
java
python
1 Voto
1 Risposta
23rd Sep 2017, 4:52 AM
Dzoyem Barry
How do I add this part: Keep a running total of the valid inflation rates and the number of computed rates to calculate average
c++
1 Voto
3 Risposte
5th Sep 2018, 8:55 PM
sumaia akhand
Everything is fine in this code but when I am choosing choice number 1 it is showing invalid choice I feel so irritate now
c
case
switch
0 Voti
3 Risposte
5th Jun 2022, 2:31 PM
Sunilsingh Nagarkoti
Does 'int' in Python 3.6 round backwards only?
beginner
conversion
decimals
float
help
number
numbers
python
python3
question
2 Voti
6 Risposte
1st Feb 2020, 4:47 AM
Zaed _
which function can help me to open the page automatic After the number 5 decriment to 0 with javascript
chat
friends
javascript
php
0 Voti
2 Risposte
18th Jul 2018, 9:17 AM
Alven
Declare three (3) integer variables Firstnum, SecondNum and SumOfTwo Prompt the user to enter the first number (Firstnum) Prompt
helpme
pascal
0 Voti
1 Risposta
18th Oct 2022, 2:36 PM
Guitche, Remuel M.
Why this code is showing 4913 a number like ramanujan number?when showing sets are 17 and 2048, 4096 and 17 . Please answer
c
1 Voto
1 Risposta
15th Sep 2022, 5:04 PM
Aditya Ghosh
Variable types are not declared while setting a value. then how or what number of bytes are being allocated in the memory?
python
variables
1 Voto
3 Risposte
2nd Jul 2016, 7:30 PM
Protiti sengupta
My code will only output the number 8 the amount of times I want. Not counting up to the user's input. Help?
c++
counting
for
statements
0 Voti
1 Risposta
29th May 2019, 3:36 PM
Danger
¿How can i put a conditional en java into a result. I have tu put which are number compadres and wich not
homework
0 Voti
3 Risposte
26th Oct 2019, 7:49 PM
María Del Carmen Cidón Hernández
After I made sure that the number is prime, how can I do the process of collecting the initial setup before it?
java
-1 Voto
2 Risposte
27th Mar 2022, 12:20 AM
Yasmin
Find the sum of first ten natural number 1 2 3 ...10 but the I m getting error please help thanks u
c++
1 Voto
3 Risposte
19th Oct 2016, 7:17 PM
kevink mahadeo
Question is given fruit number should be even. Half of it is apples and half banana. Takes 3 apples to make one pie. I
clanguage
1 Voto
1 Risposta
16th Nov 2020, 7:17 AM
Sohel Kumar Samantaray
Can any give me the code that count the number vowel and consonants in a sentence or a word in phython
phython
0 Voti
2 Risposte
5th Aug 2018, 12:56 PM
Ammar Ahmad Adam
In a dart game, you hit 5 points once, 10 points 2 times, 20 points 2 times. What is the average number of points you hit per at
10
2
20
5
a
attempt?
average
dart
game
hit
in
is
number
of
once
per
points
the
times
times.
what
you
-7 Voti
4 Risposte
5th Jun 2021, 5:23 PM
Harshith Nalla
Write a program that will ask for 5 numbers from the user and if the number is present in array the function should return 1
c++
0 Voti
5 Risposte
31st Jul 2017, 5:43 PM
Vicky
read a floating point and integer value. The value of floating point number is >3.14 and add 10 to the integervalue and print
c
program
0 Voti
2 Risposte
9th Feb 2020, 12:38 PM
Hemadharshini S
You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waitin
c++
0 Voti
2 Risposte
6th Aug 2021, 7:48 AM
AMAN GOYAL
Can anyone tell me what will be the program to find the factorials of the digit of a number in java using switch case?
sololearn
sololearners
-4 Voti
5 Risposte
1st Nov 2020, 10:29 AM
Pratyush Khare
is it possible to build infinity as a number in python ? just like we are assigning int or float , complex to varaible.
python3
0 Voti
2 Risposte
4th Jun 2021, 11:47 AM
lisa
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
78
79
80
...
87
Successivo >
Popolare oggi
Safety Deposit Boxes
2 Votes
I am new I don't know where i start
0 Votes
__str__ in Python...
0 Votes
How this function is working in python?
2 Votes
Input sand outputs
0 Votes
Sololearn
1 Votes
Advice me
1 Votes
Start
1 Votes
Who teach me html css JavaScript react
0 Votes
how to use ardino uno???
0 Votes