Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Given two numbers X and Y, write a function that: 1 returns even numbers between X and Y, if X is greater than Y else it returns
(x
{
=
=>
const
myfunction
return
x*
y;
y)
-4 Votes
5 Answers
5th Oct 2018, 8:24 PM
ohwo oghenekaro
I'm using multiple button in LinearLayout for Quiz but on 1 only button should be clickable or disabled in same layout.
android
button
java
0 Votes
2 Answers
7th May 2020, 9:54 PM
Gorishankar
I m a begginer so plz tell me something about how can i learn C language with in 1 month ? Please...
c
c++
0 Votes
4 Answers
30th Jun 2017, 5:06 PM
khantil sanghani
Why does the countdown start on 3 when the print says i = i - 1 if i = 3?
loops
python
0 Votes
3 Answers
21st Jul 2016, 9:47 AM
Daniel
Average time it takes you to develop a basic 5 page / 1 page layout website from scratch (from design, develop to launch)
c#
css
html
javascript
php
website
2 Votes
1 Answer
1st Sep 2018, 8:02 AM
Preston Tshabalala
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 Answers
11th Mar 2022, 1:51 PM
Mohamed Raaid
what language can I use the binary
0
1
binary
scripting-languages
-1 Vote
3 Answers
6th Aug 2017, 6:05 PM
Storm
Please help me with this game, the level is increasing. 🙏🙏🙏 I want it to increase by 1 each time the ball is empty. Thanks
canvas
javascript
0 Votes
3 Answers
19th Jul 2020, 10:42 AM
Abat
Suppose i have a code and i run more than 1 time ,every time i am getting different running time why?
running
time
0 Votes
2 Answers
27th Mar 2018, 2:07 PM
Bahubali
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
How to assign the numbers 1 to 9 to variables a to i ? Please help ASAP
code
math
variables
0 Votes
1 Answer
26th Aug 2017, 9:46 AM
Satyam Premi
I have an issue about sum of n inputed numbers and sum of 1 to n numbers
c++
loops
0 Votes
1 Answer
24th Nov 2016, 7:04 PM
Darshit Desai
I need help.I am working with desktop app in pyqt5. Have several issues - wrong function counting EEG signals per 1 sec-need cou
urgently
1 Vote
3 Answers
16th Apr 2020, 11:59 AM
Akinbami Felix Akintunji
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 Votes
2 Answers
20th Oct 2022, 8:35 AM
Ecnerual23
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 Votes
3 Answers
2nd Jan 2022, 5:08 PM
Jamison McKinney
PLEASE VIEW MY CODE IN COMMENT SECTION. Can anyone edit it so i could enter the name of horse 1 horse 2. I want to cout and cin.
beginner
c++
cin
classes
cout
cpp
loops
opp
0 Votes
8 Answers
21st May 2017, 3:51 AM
eiro Jan
There was a set of cards with numbers from 1 to N .One of the card is now lost .
python
0 Votes
1 Answer
8th Feb 2019, 8:45 AM
周志桓
A string value containing more than 1 word is passed as input to the program itmust print all the words starting with letter 't'
python
0 Votes
4 Answers
2nd Sep 2018, 11:54 AM
bharath
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 Answers
9th Nov 2019, 5:11 PM
SWL
How many numbers does this code print? i = 5 while True: print(i) i = i - 1 if i <= 2: break
python3
0 Votes
2 Answers
21st Sep 2018, 2:01 AM
Mohamed Ramadan El Geneidy
Make a Number puzzle by using 1 to 9 numbers without repetition and the sum of three boxes will be only 15. Use 9 boxes.😉😉😎😎
generator
puzzle
2 Votes
2 Answers
23rd Jun 2018, 2:22 AM
Chandu Vadde
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 Votes
5 Answers
27th Jul 2020, 2:54 PM
henry okafor
I entered only 1 number instead of 5 and got output as 5*number.. instead I should have got only the number . please clarify
c++
loops
0 Votes
5 Answers
1st Aug 2016, 2:14 PM
RB Vijey Shankar
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line,
\n
code
in
phython
-1 Vote
3 Answers
24th Jun 2021, 5:38 PM
Lavesh Lingayat
someone can help me I can not advance in the challenge 1 of the question of how to center the text help please
html
2 Votes
3 Answers
1st Oct 2017, 2:04 AM
ronny aguilar
Leia um valor inteiro entre 1 e 12. Correspondente a este valor, deve ser apresentado como resposta o mês do ano por extenso,
1
12.
a
correspondente
e
entre
este
inteiro
leia
um
valor
valor,
0 Votes
2 Answers
14th Apr 2023, 10:35 AM
Ailer Pimentel
Here the output is 0, but why not 1 ? is the scope of variable 'a' ends with the method ..?
increment
java
methods
0 Votes
2 Answers
14th Dec 2018, 4:43 AM
Sharief
Please i need someone to help me explain this code from line 1 to the last line. I just came across it but i don't understand it
programming
python
2 Votes
2 Answers
5th Apr 2020, 10:32 AM
Okonkwo Emeka
when i run my code suppose with input 1 then from 0 to 10 output is correct but i get 11 th value as garbage value! why so??
c++
garbag_value_problem
1 Vote
7 Answers
10th Jan 2017, 7:40 AM
Md Shaifan Shahid
If opponent doesnot play code in 1 day, then will we win the match or the match will draw? Or both will not get XP?
code
learn
play
sololearn
2 Votes
2 Answers
6th May 2020, 5:07 PM
Santosh Kumawat
How can write program to calculate multiplication table for any number start from 1 and end for the number enter by user
c++
1 Vote
3 Answers
28th Mar 2017, 5:43 PM
Bts...
Write a C program using functions to calculate and display the sum of numbers from 1 to 5 and the product of numbers from 5 to
c
1 Vote
3 Answers
25th Feb 2022, 3:23 AM
Hoseok
I am a student.i want to learn JavaScript.If i give 1 hour a day how many days or year require to learn that?
javascript
0 Votes
3 Answers
10th Jul 2018, 7:09 AM
Sheak Salauddin Khaled Rasel
I am looking to start my own web design business, it's going to a 1 man show. Is python hard to use as a front end prog language
python3
web
2 Votes
6 Answers
30th Jul 2017, 9:26 PM
James Barrow
Drag and drop from the options below to create a LinkedList, add "Hey", and print it. <String> list = new LinkedList ();
"bye"
"hey"
<string>
0
1
arraylist
linkedlist
solutions
0 Votes
4 Answers
6th May 2018, 1:12 AM
Asem Abdu Ahmed AL jadwh
The output is string. Anyone knows how can I get output in int? I want to divide 1 by "Output".
int
output
python3
strings
0 Votes
1 Answer
3rd Oct 2020, 3:21 AM
MR Jey
how can I break a line as line 1 & line 2 of address column while inserting values in table ?
insert
sql
tables
-1 Vote
4 Answers
8th Jul 2016, 2:58 PM
Mohan pochampalle
Random int generator + if / else if / else ) 1 through 5 . .. always returning false .. why??
if-statements
math
-1 Vote
4 Answers
23rd Feb 2017, 5:04 PM
Sonny mbiam
I wants to count total ( 1 ) number present in the given length. This program is only from 0 to 100. But I wants upto 10000.
c
0 Votes
4 Answers
4th Mar 2020, 5:38 PM
Vishwesh Patel
Hello guys some one help me explain this while loop x = 1 while x < 10: if x%2 == 0: print(str(x) + " is even")
python3
1 Vote
3 Answers
10th Aug 2020, 8:08 AM
Akatwijuka Allan
I would calculed the sum the 1 to 10 by for in php,this code is true or false?
php
0 Votes
2 Answers
3rd Mar 2017, 6:37 AM
lahcen dabouz
What is the difference between Java and C++, with syntax and which 1 would you choose and why?
arrays
java
0 Votes
2 Answers
26th Feb 2017, 4:39 PM
Vincent Kabini
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 Answers
19th Oct 2016, 7:17 PM
kevink mahadeo
Well I did it ..but I don't understand why it print 5 ..not 1 at the end ..and also why don't it print finished at the end
python
1 Vote
4 Answers
22nd Jul 2018, 10:04 AM
Deesha Devi Raghu
How I can make a list or some type of this from 1 to 50 to don't write all 1,2,3,4...
lists
python
range
1 Vote
2 Answers
28th Jun 2016, 5:08 PM
Xenonium Oxygen
You are making a program for a chess tournament that needs to calculate the points earned by a player. A win is worth 1 point,
c#
cs
0 Votes
2 Answers
26th Jan 2024, 9:37 PM
Rosa Vo
Get input from user 0 means print hai 1 means print hello.the user give apart form this again it ask a input..using loops
python3
1 Vote
2 Answers
30th Jan 2020, 5:14 PM
NIVETHA N
-35.75 to its 14-bit floatng point. 1 bit for sign, 6 bit for the exponent, 7 bits for the mantisssa. Is it right?
c
floating-point
1 Vote
2 Answers
13th May 2020, 5:59 AM
Jai
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 Votes
3 Answers
5th Jun 2022, 2:31 PM
Sunilsingh Nagarkoti
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 Answers
3rd Jan 2017, 4:49 AM
Harsh Ranjan
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
35
36
37
...
41
Next >
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes