New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
{KOTLIN} Parking Fee Problem. Why will my code not pass cases 5 and 6?
case
help
kotlin
logic
problem
test
0 Votes
3 Answers
23rd Mar 2022, 10:36 PM
Areeb Qureshi
I've tried the following code but it gives a wrong output .....can somebody help me? Test case will be 3001213 n output is 300
cpp
-3 Votes
3 Answers
6th Jul 2021, 5:53 AM
Disha Jain
What is the best decision structure for the case of issuing the number of demerit points (e.g. 3,4,6,8 etc) for a traffic offenc
python
0 Votes
1 Answer
10th Aug 2020, 4:53 PM
SWL
Strings or strings?
case
java
letters
operators
syntax
0 Votes
3 Answers
16th Sep 2017, 3:52 AM
Siraz Naorem
plz tell what is the difference in single and double comas ...in this case while assigning the value we had use 'tues'
php
switch
1 Vote
2 Answers
17th Feb 2017, 3:30 PM
Aman Gupta
About memory, before we allocate something with 'new' all values are stored, actually where? I mean we allocate some memory just in case we run out of space in our program?
c++
data-types
0 Votes
8 Answers
15th Aug 2016, 3:06 AM
Łukasz Bandach
How make a code which a string given it turn it to palindrome ! Case abdd given then it add ba
c
c++
palindrome
1 Vote
1 Answer
16th May 2017, 4:32 PM
Artur Molla
We can overload + operator. But how is it possible in case of ! Operator? It just converts logical 1 to 0 or vice versa.
c++
operator-overloading
0 Votes
4 Answers
4th Aug 2017, 8:19 PM
Bhavesh Mahale
I hope u noticed the semi-colon (;) at the end of each case and at the closing curly brackect };
switch
-4 Votes
2 Answers
19th Jun 2021, 1:06 PM
Omar Juma
Please I need help in sql , How can IF ELSE, CASE and WHILE statement been use in adventure work?
victor
-1 Vote
2 Answers
22nd Jan 2018, 4:31 PM
Fredrick Obarafor (Fredoski)
In this case the value is default or what !!!!!!!!!!!!!!!!! 41 18467 6334 26500 19169 15724 11478 29358 26962 24464
c++
rand
-1 Vote
1 Answer
4th Oct 2016, 10:30 PM
tmohammed450
The switch statement (Dark theme) question
break
case
javascript
js
node
nodejs
switchstatement
theswitchstatement
0 Votes
5 Answers
22nd Dec 2021, 3:51 PM
Rukundo Elvis
Do we need mentioned Alisa tables prefix for case statement in select statement while in creating view by using different tables
sql
0 Votes
1 Answer
5th Apr 2021, 5:25 PM
vijay
Why do we have to return always 0 in case the return type of the main() is int. What will happen if we return some integer other than 0?
c++
functions
1 Vote
5 Answers
16th Mar 2016, 9:29 PM
Rahul Singh
make calculator that exit if user entering letter in C languange
c
calculator
case
clanguage
function
loop
switch
0 Votes
5 Answers
8th Apr 2020, 5:15 PM
Lucky Pradana
In Test case i am not able to complete the project even my answer is correct it is not showing.anybody help me to sove this .
-------
0 Votes
2 Answers
26th Nov 2021, 1:47 AM
Viji .S
Was that the case that before there were links to video lessons in the courses? Why can't I see them now?
clips
links
video
0 Votes
1 Answer
16th Sep 2016, 2:45 PM
Danail Dimov
The lengthy question in the challenges are difficult to read.atleast in case of if indendation is there..it will easier to read
challenges
interpreter
python3
syntax
-1 Vote
1 Answer
14th Jul 2017, 2:48 AM
J Prak
Hi every body i would know if we can use probabilité in switch a variable w give for a case <15 or >18 or any think like this
c#
1 Vote
3 Answers
26th Mar 2019, 5:30 PM
Belkassem Mustapha
Premitive operator program::please i need your help my sample output is same as they gave me but it still doesn't past the case
help
0 Votes
1 Answer
27th Mar 2022, 10:30 PM
MR KINGSHOW
How can I add a "font-style:" fallback just in case the specified style isn't recognised by the browser just like we do with font-family ?
css
font
1 Vote
2 Answers
20th Sep 2016, 11:17 AM
Joshua Ng andwe
How to make any menu driven program in C
c
case
in
program
switch
0 Votes
2 Answers
25th Jan 2017, 6:24 AM
Jagat Raj
Why does this output an error?
c++
case
cin
cout
else
error
If
if-else
switch
1 Vote
10 Answers
6th May 2017, 9:45 AM
mei
Why my code challenge "How much Vroom" doesnt pass the test case no 2 and 5? Moreover, I have not been added input=input * 10
c++
classes
0 Votes
1 Answer
5th Jan 2023, 1:47 AM
Oliver Pasaribu
Why loading leaderboard takes a long time? I generally use my phone for sololearn. I do not know if that's the case with PC too.
leaderboard
1 Vote
1 Answer
6th Feb 2019, 7:54 AM
Abdullah Guler
for(a=0;a<50;a+=10) in the first iteration a=0 hence 0=10 is the case why are'nt we writing the output from 10.I am a beginner n
c++
loops
0 Votes
2 Answers
24th Jan 2017, 6:24 PM
fahad baroba
Can anyone help me plz? When i use + sign the sum become wrong. But in case of -*/% that code looks fine.
code
codeplayground
javascript
0 Votes
2 Answers
6th Jan 2018, 5:37 AM
M.I Shanto
You are working on a ticketing system. A ticket costs $10. The office is running a discount campaign: each group of 5 people is
3
case
code
in
incorrect
is
test
this
2 Votes
2 Answers
25th Mar 2021, 9:00 PM
Harshit Agarwal
what it's problem ?
break
case
char
cpp
error
help
if
learning
problem
switch
1 Vote
10 Answers
24th Jul 2019, 4:13 PM
Hannah
Who does know PASCAL? I need your help. Write me please
case
caseof
code
js
of
pascal
selector
1 Vote
3 Answers
19th Sep 2019, 5:08 PM
Anastasiia Kudria
How can I write a ruby code that takes in an array of integers and return true if any three consecutive elements sum to 7
case
else
end
puts
when
1 Vote
1 Answer
11th Apr 2017, 7:56 PM
Safianu Mohammed
If2. Given the whole number. If it is positive, then add to it 1; in the opposite case the deduction from it .
java
-4 Votes
2 Answers
10th Feb 2021, 11:20 AM
Айнура Ишантаева
I want to create a 12 number alphabet as range in PHP like (“ Db8jhCn9HMUZ”) it includes lower and upper case letter numbers?
12
alphabet
case
letter
lower
number
php
range
upper
0 Votes
1 Answer
18th Nov 2017, 3:19 PM
Hassan Raza
Anybody please send me the code for the challenge camel to snake in c
c
camel
case
challenge
java
snake
-7 Votes
4 Answers
25th Oct 2022, 3:53 PM
Arsh Abbas
In what case search function in binary search tree will have O(h + s) complexity, where h is the height and s is item returned?
algorithms
bst
complexity
0 Votes
1 Answer
11th Feb 2023, 10:27 PM
FERUZ
How can I make a choose?
case
choose
input
javascript
Userinput
0 Votes
1 Answer
11th Jun 2017, 3:32 PM
Silvio Kvesic
Using a string if() statment in switch case:
case
if-statements
java
strings
switch
-1 Vote
1 Answer
17th Jun 2017, 2:03 PM
D_Stark
Why will solo learn gives opportunity of learning many language and provide challenge to just c++ and JS?
and
case
d
html
php
rest
0 Votes
3 Answers
13th Dec 2016, 11:06 AM
Milam Nenla'e Goladi
Rich Text Editing
case
editor
execcommand
html
javascript
rich
rich-text-edit
text
3 Votes
4 Answers
12th Dec 2017, 4:12 AM
djorborn
can anyone perform a code that when a user asked to put an email adress, the program prints output when find '@'( in c lang...)
be
case
email
in
should
the
upper
0 Votes
3 Answers
23rd Jan 2019, 9:51 PM
Boniphace Mwampanda
Data Science - Average of Rows
case
fails
remove
return
rowmeans
test
the
whitespace
0 Votes
4 Answers
29th Jul 2022, 10:05 PM
D33pesh
why in this case we call the function in Main like that " int result = sum(x, y);" why no by just typing sum(x,y)?
c++
function-arguments
functions
0 Votes
1 Answer
11th Mar 2017, 10:46 AM
Matej Čalić
even in the case of two inputs, I use to give two inputs in a separate line?? is it the proper way (however, output didn't come)
inputs
scanner
0 Votes
1 Answer
15th Apr 2020, 4:40 AM
SASIM WD
[Please help ]Write a c++ program that accpet an integer number from the user ,in case the number is negative check and print out whether it is even or odd number
a
accept
an
c++
from
integer
number
program
that
the
user
write
0 Votes
3 Answers
31st Jan 2017, 2:20 PM
aulaelf
Hi! I am trying to modify the game rock, paper scissors but I'm having a hard time to loop a certain case in a switch statement
game
rockpaperscissors
0 Votes
1 Answer
29th May 2021, 3:30 PM
emsii groove
Is there any app that i can run codes on without going online. I mean that can work on phone in case I'm out of data
pls
0 Votes
1 Answer
7th Oct 2018, 5:00 AM
Hamzat
woah wait if thats the case than i only need us a lot of \n in just a single cout for spacing to next line right?
c++
cout
0 Votes
1 Answer
7th Jul 2017, 11:58 AM
Noor Mohamed
Is there "switch case" structure in Python?
answer
ask
case
knowledge
python
python3
question
switch
1 Vote
2 Answers
9th Oct 2019, 4:26 AM
APURVA JAISWAL
Halloween Coad Coach Not Working!
candy
case
coach
code
halloween
help
not
solution
test
working
1 Vote
4 Answers
1st Jul 2023, 10:46 PM
Illia Vo
How to make an “if button is pressed do this”
buttons
case
css
else
help
html
If
if/else
js
switch
5 Votes
3 Answers
9th Mar 2018, 9:46 PM
Octavio Aguayo
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
21
22
23
Next >
Hot today
Invitation to join open-source project.
8 Votes
Python
1 Votes
Does casting not adjust the pointer in c++
3 Votes
Hey, I need help solving this problem!
1 Votes
HTML Module 3 Quiz
1 Votes
Hello, Can anyone tell me that when Android & Kotlin course will be available in App?
1 Votes
Bits
3 Votes
Why does my image tagname not work.
0 Votes
How can I make an hyperlink with a Sololearn project
2 Votes
Field name in ef core
0 Votes