Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Someone could help me, I want you to concatenate the first 2 characters of each of these 3 strings, I attach my program
c
0 Vote
3 Réponses
25th Aug 2021, 4:50 AM
kevin josuè mondragon nuñez
how to generate a list of infinite length containing all numbers made of 1 or 2 or both in ascending order?
python
1 Vote
2 Réponses
10th Sep 2016, 6:26 AM
Akhil Gaur
Write a C# console application program that will prompt the user to 1-3. Enter their name, lucky number 1 and lucky number 2
help
0 Vote
2 Réponses
20th Oct 2022, 8:35 AM
Ecnerual23
Python Maths Quiz - how to make sure random Num 1 is larger than Num 2 & number of loops = user input
maths
python
quiz
1 Vote
2 Réponses
9th Nov 2019, 5:11 PM
SWL
Please, can somebody explain to me why this prints a list with both 1 & 2 in it instead of just 1in the list?
python3
0 Vote
2 Réponses
6th Apr 2019, 4:31 AM
Thimira Rathnayake
I used a function to find the max between 2 numbers, what should i add to find max among 3 numbers????
c++
help!
1 Vote
2 Réponses
31st Jul 2017, 7:54 PM
RiGeL
Show the printout of the following code: Suppose the input is 2 3 4 5 0. What is the output of the following code?
java
0 Vote
2 Réponses
24th Nov 2020, 12:48 PM
Zaina Fannana
You are given a program that takes Team 1 and Team 2 football teams goals as inputs accordingly. Complete the function to take
console.
log
0 Vote
3 Réponses
8th Feb 2023, 12:57 AM
ANIL KUMAR VIHSWAKARMA
For the last else statement... how can I make the program run again after it asks to enter 1 or 2 ...
c++
else
statement
0 Vote
3 Réponses
14th Apr 2017, 6:28 PM
Luke Mai
The code is meant to return the percentage value of the ratio between 2 variables as long as one is greater than 3 please help
c++
0 Vote
4 Réponses
22nd Feb 2023, 5:17 AM
Emmanuel Timilehi
3 groups 1st gruop 27 children, 2nd 23 children and 18 children. Each have 2 spoons ice cream. Total no.of shoops we have
data-types
-1 Vote
2 Réponses
30th Aug 2021, 3:24 PM
basi Swathi
Using Java create a program that displays rectangle, triangle and circle by promoting a user to key in 1, 2 or 3 .
java
0 Vote
2 Réponses
11th Aug 2020, 6:48 AM
Sharon Nzaya
9% (7//2)=1 i am not understanding when there is reminder is 1 of 7 by 2 then how its coming one with 9 ??
numeric-operations
python
1 Vote
4 Réponses
3rd Jan 2017, 4:49 AM
Harsh Ranjan
Boolean logic 2 for python core. Create a program that outputs whether a store is open or closed. I got all test cases except 1
boolean
case
help,
hidden
logic
test
0 Vote
3 Réponses
2nd Jan 2022, 5:08 PM
Jamison McKinney
The data for batting and it is related to module package: 1- for 1 point in 2 runs,2- for half-century additional 5 points
loops
modules
packages
python3
2 Votes
1 Réponse
31st Jan 2020, 3:32 AM
Utsav Singh
Дано вещественное число — цена 1 кг конфет. Вывести стоимость 1.2, 1.4, … , 2 кг конфет. нужно с циклом do while
c#
0 Vote
1 Réponse
23rd Mar 2018, 6:26 AM
Виктория
Doesn't the number satisfy both condition 1 and 3 (num > 3, Num ==7) then how does it only display 3?
if-statements
python
-2 Votes
3 Réponses
9th Jan 2017, 10:34 PM
John Sitther
How can I make my first Java code work? I'm only level 2 but I want to make a countdown from 5 to 1 with an exclamation.
2
countdown
if
java
level
statement
string
0 Vote
5 Réponses
23rd Mar 2020, 3:29 AM
Johnna Boots
I am learning python from 1 weeks and html from 2 days and i just started learning mysql also then after it what should i learn
html
learning
mysql
python
2 Votes
2 Réponses
27th May 2020, 12:29 PM
AKASH CHAUHAN
Hi guys i tried this code coach called Argentina but 2 test cases was wrong and 1 test was able to see so i did the same code
python
1 Vote
3 Réponses
11th Mar 2022, 1:51 PM
Mohamed Raaid
Isn't these two programs(portion of number valudation in JS) have same output? 1 is working but 2 is not, please help me out
html
javascript
0 Vote
1 Réponse
2nd Apr 2022, 2:56 PM
Logician S
Hi , could anyone explain me one basic programming like l have to type 1 hello,people 2 hello,peoplee again one more e
pythonnumeric-operations
0 Vote
1 Réponse
22nd Apr 2020, 9:26 PM
Shoxrux Xolmatov
can someone tell me what I'm doing wrong? I have outputs the result of 2 tests and 1 does not read the result from the first
javascript
0 Vote
3 Réponses
17th Jun 2021, 6:48 PM
iking л
how to make a row with number 1 and column? when I click Enter key in my keyboard it want's to create new row numbered 2
angular
css
html
javascript
0 Vote
3 Réponses
6th Apr 2022, 5:01 AM
Technology RN
How can i create 2 link to act upon 1 button. In a way that if a user clicks the button, it will run two links at once.
ahref
functions
html
php
reference-types
xhtml
0 Vote
5 Réponses
27th Jul 2020, 2:54 PM
henry okafor
In C++ I want to take input 1 for even number output and input 2 for odd number output. How I limit input to user.
cin
cout
for
int
while
0 Vote
4 Réponses
31st May 2017, 5:23 PM
Umair
how the last one will become 3???
["string"
[1
=
0
2
3
number
things
2 Votes
4 Réponses
31st Aug 2019, 8:19 AM
Suraj Das
Plz,can anyone help me with this code ? I want to understand how the code exactly colored the line 2 and 3 in the second table ?
css
html,
1 Vote
6 Réponses
6th May 2017, 2:47 PM
abdelaziz koutkout
Could somebody please help me , how to create a boolean program . For example i put 4 answers , 1 is true and 3 false. Thank you
boolean-logic
booleans
html
html5
js
1 Vote
5 Réponses
14th Nov 2020, 10:23 AM
Riselda Rada
I want to pass 2 args in the cmd but one of the arguments has a space in them so it is taken as 3 arguments? What must i do?
args
arguments
cmd
java
path
2 Votes
6 Réponses
17th Dec 2018, 2:51 PM
Shuaib Nuruddin
R language wap to print the number from 1 to 100 and check that they are divisible by 3 and divisible by 5 and divisible by both
r
-2 Votes
5 Réponses
11th Sep 2022, 7:09 AM
Abhishek
It works for 3 of 5 test but I can't see the 2 it doesn't work for and I can't find the issue. Problem military time.
python
0 Vote
2 Réponses
18th Mar 2022, 4:52 AM
Nick Accordino
How to make a program that opens a FILE and counts the number of words with 1 character, 2 characters, 3... and so on..
c++
1 Vote
1 Réponse
21st Jan 2019, 11:34 PM
Ignacio Montero
What happens if we partially intialize an array?
0
1
2
a[3]={1,2}//
int
output
2 Votes
1 Réponse
19th Nov 2017, 10:12 AM
Anthem
print all the numbers that do not exceed n the natural number and will give 1 balance when delivering each one on 2
a
help
i
need
0 Vote
1 Réponse
11th Dec 2018, 10:54 AM
Arsen
You need to calculate the points earned by a soccer teamThe team won 18 games and ended 7 games as a draw.A win brings 3 while 1
python
0 Vote
2 Réponses
4th Mar 2022, 5:46 PM
Ajitkumar Singh
How can I make a button that when I clicked on it it write's 1 and when I clicked on it again it get's 2 and...
help
1 Vote
3 Réponses
9th Feb 2018, 9:50 PM
Sina
write a function named nval that take 2 integer argument and return 1 if they have same number of factors. retur -1 if is negtif
me
0 Vote
2 Réponses
22nd Jun 2019, 11:23 AM
Sifa Ngelelo
how can i link from one file html to another, if im using phone, i mean, i create 2 file html, then from 1 to other file thanks
link
1 Vote
2 Réponses
8th Aug 2021, 10:29 AM
anis
How to create a table of 2 rows and 3 columns with this sun-hot moon-cool mars-red?can anyone send me a code for this?
html
tables
0 Vote
2 Réponses
8th Dec 2016, 7:11 AM
Ajay Ramamurthy
How can it be infinite if there stayed while 1 == 1: Because after first time "i" would be 2 and it's not any more while true: ?
loops
0 Vote
4 Réponses
5th Nov 2018, 12:52 PM
Benzema
Please help on below lines: i could not able to input 2 values. After getting value of N, throwing error at line 3
if-statements
python
0 Vote
2 Réponses
15th Nov 2017, 4:22 AM
Mohammed Farook
In a c++ project i was supposed to do data file handling in 3 programs and combine them into 1 Its there in my codes Thanks
c++
data-file-handling
2 Votes
2 Réponses
29th Apr 2017, 10:48 AM
Mayank Srivastava
How to get the input in following code in straight line like. 1 25 + 5 2 30 please tell how to get output in only twolin
python
python3
0 Vote
2 Réponses
21st Jan 2021, 4:42 AM
Shlok Jathar
As a beginner is it advisable to learn 2 to 3 languages at the same time or is it better to stick with one language for a start?
c++
html
java
php
1 Vote
3 Réponses
5th May 2018, 9:15 AM
kenneth shang
I want to create a new CSV file and inside that; i want to store values from a=[1,2,3,6] as column 1 and b=[2,4,6,9] as column 2
python3
1 Vote
1 Réponse
15th Jun 2019, 3:22 AM
vinay
Why can't I get a user to be able to input 1 or 2 to select which function to use via class and object?
and
bad
coding
math
probably
0 Vote
2 Réponses
19th Oct 2017, 3:01 AM
Patrick
I made a tic tac to programm, but my problem is that when player 1 played, the map is reset when player 2 plays...
python
0 Vote
2 Réponses
22nd Jan 2017, 6:05 PM
Marv
Why are tests 3,4,5 hidden? This code works on 1 and 2 but not on 3,4,5 and I'm unable to submit it because of that. Any ideas?
basics
code
python
0 Vote
2 Réponses
6th Nov 2022, 1:18 PM
Stefan Ambrose
How to fill list from input user?Like this.If i input 3 the result is [1,2,3] and when i input 2 for 2nd result is [2,4,3]
python
1 Vote
2 Réponses
11th Nov 2016, 1:57 AM
omi
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
8
9
10
Suivant >
Aujourd'hui en vedette
X velocity
2 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
1 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes