Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
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 Votes
3 Réponses
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 Votes
3 Réponses
14th Oct 2016, 6:28 PM
Boris Ferguson
How can I divide a range by integer that is each number of a range by integer?
ranges
ruby
0 Vote
2 Réponses
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 Vote
2 Réponses
21st Jun 2016, 2:17 PM
Terence John J. Morilao
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 Vote
2 Réponses
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 Vote
3 Réponses
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 Vote
1 Réponse
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 Vote
1 Réponse
12th Dec 2023, 12:45 PM
vankudoth vittal
How to generate 256 random numbers without repeat?
c++
code
cpp
num
number
nums
rand
random
0 Vote
3 Réponses
9th Jan 2021, 11:56 AM
Влад Цислевский
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 Vote
2 Réponses
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 Vote
3 Réponses
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 Vote
3 Réponses
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 Votes
3 Réponses
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 Votes
3 Réponses
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 Vote
3 Réponses
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 Votes
2 Réponses
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 Vote
2 Réponses
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 Votes
3 Réponses
31st Mar 2021, 4:58 PM
Sunil
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 Vote
2 Réponses
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 Vote
3 Réponses
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 Vote
3 Réponses
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 Vote
3 Réponses
11th Nov 2017, 9:26 AM
David Crifz
How repeated numbers are shows using array
are
arrays
how
number
repeated
shows
using
0 Vote
3 Réponses
28th Nov 2019, 5:17 PM
Shalu Shendre
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 Vote
5 Réponses
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 Vote
2 Réponses
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 Vote
2 Réponses
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 Votes
1 Réponse
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 Vote
2 Réponses
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 Vote
1 Réponse
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 Vote
3 Réponses
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 Vote
3 Réponses
5th Jun 2022, 2:31 PM
Sunilsingh Nagarkoti
which function can help me to open the page automatic After the number 5 decriment to 0 with javascript
chat
friends
javascript
php
0 Vote
2 Réponses
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 Vote
1 Réponse
18th Oct 2022, 2:36 PM
Guitche, Remuel M.
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 Vote
3 Réponses
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 Vote
1 Réponse
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 Vote
3 Réponses
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 Vote
2 Réponses
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 Vote
3 Réponses
19th Oct 2016, 7:17 PM
kevink mahadeo
Does 'int' in Python 3.6 round backwards only?
beginner
conversion
decimals
float
help
number
numbers
python
python3
question
2 Votes
6 Réponses
1st Feb 2020, 4:47 AM
Zaed _
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 Vote
1 Réponse
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 Vote
2 Réponses
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 Votes
4 Réponses
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 Vote
5 Réponses
31st Jul 2017, 5:43 PM
Vicky
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 Vote
1 Réponse
15th Sep 2022, 5:04 PM
Aditya Ghosh
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 Vote
2 Réponses
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 Vote
2 Réponses
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 Votes
5 Réponses
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 Vote
2 Réponses
4th Jun 2021, 11:47 AM
lisa
Create a Java program to calculate the number of vowels and consonants and display the letter groups each of your full names
java
2 Votes
1 Réponse
8th Mar 2019, 3:34 PM
Iren Brigita Pasu
Write a program that takes an integer number n as input and find out the sum of the following series up to n terms. 1 + 12 + 123
c
1 Vote
4 Réponses
16th Dec 2020, 12:28 PM
Tousif Riyad
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
78
79
80
...
87
Suivant >
Aujourd'hui en vedette
Python
2 Votes
Void functional void with bool function
0 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes
Where's PHP and Ruby courses?
1 Votes