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
Write a c++ program. Make sure your program handle all validations Use at Least One class. C= 1/b + 2 / (a+1)
c++
0 Voti
1 Risposta
15th May 2020, 12:29 PM
Nathaniel Kwaku Awenate
A carpenter is cutting a long plank of wood of length N cm and fixed width of 2 cm into pieces of shorter lengths. Given that e
computer
science
0 Voti
5 Risposte
5th Dec 2020, 2:01 PM
Franque Cgei
When I input 2 it prints human and not human. Should just print human. Tried to get rid of the else statement , it didn't work.
c++
cpp
else-statements
if-statements
1 Voto
4 Risposte
22nd Oct 2018, 6:29 PM
Dels White
How can i declare a function with ' 2 dimensional char' array in c.?? I am trying like this : void structural (char [] []);
function
0 Voti
3 Risposte
5th Jun 2020, 9:43 AM
WaYR🇧🇩
in the float lesson it for division a single forward slash was used but in numeric operators it uses 2 forward slashes why??
data-types
python
0 Voti
2 Risposte
2nd Feb 2017, 1:58 AM
Xmea
If we want that our computer asks for a no. or a string 2 times, how to do it by using cin >>?
c++
1 Voto
2 Risposte
12th Apr 2017, 2:11 PM
Rahul Sonia
how to compute lcm for more than 2 number ..like for 6 or more numbers in python??whats the problem with this code ?
python3
0 Voti
1 Risposta
20th Jun 2020, 5:29 AM
mahsa
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 Voti
2 Risposte
27th May 2020, 12:29 PM
AKASH CHAUHAN
Take the name as input name = input() # Use concatenation to join 2 strings message = "Nice to meet you, " name # Display the
concat
0 Voti
3 Risposte
9th Oct 2023, 5:22 PM
olawoyin tunji
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 Voto
3 Risposte
11th Mar 2022, 1:51 PM
Mohamed Raaid
I want this program to cin as many times as the user wants , but it only cins 2 times, pls post the right form for me
c++
input
1 Voto
4 Risposte
24th Jul 2019, 10:13 AM
Hannah
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 Voto
6 Risposte
6th May 2017, 2:47 PM
abdelaziz koutkout
how to show the numbers in textbox in c# . it is show to me 11 does not show 2 why ??
c#
0 Voti
2 Risposte
27th May 2017, 10:38 PM
ALAMOUDI, WAEL MAKKI S
#finding area of triangle a=5 b=6 c=7 s=(a + b + c ) / 2 k=s((s-a)*(s-b)*(s-c)) **0.5 print("area of triangle is :-",k)
python3
sololearn
-1 Voto
1 Risposta
13th Aug 2019, 5:01 PM
lokesh
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 Voti
6 Risposte
17th Dec 2018, 2:51 PM
Shuaib Nuruddin
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 Voti
1 Risposta
2nd Apr 2022, 2:56 PM
Logician S
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 Voti
5 Risposte
27th Jul 2020, 2:54 PM
henry okafor
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 Voti
3 Risposte
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 Voti
3 Risposte
6th Apr 2022, 5:01 AM
Technology RN
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 Voti
1 Risposta
22nd Apr 2020, 9:26 PM
Shoxrux Xolmatov
Write a c++ program. Make sure your program handle all validations Use at Least One class. C= 1/b + 2 / (a+1)
c++
0 Voti
1 Risposta
15th May 2020, 1:07 PM
Nathaniel Kwaku Awenate
How to make list from input user,example.If i input 3,output is [1,2,3] and when u input 2 after 3,result is [2,4,6].Like that
lists
python
0 Voti
2 Risposte
11th Nov 2016, 11:53 AM
omi
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 Voti
4 Risposte
31st May 2017, 5:23 PM
Umair
According to sololearn , there is 2 more things I'm missing to complete the practice ( #5 & #6) . So what did I miss ?
python
1 Voto
1 Risposta
4th Jan 2023, 7:13 AM
marill con
I have been using c++ for competetive coding since 2 years but now i want to switch to python. What are the pros and cons?
c++
code
python3
1 Voto
3 Risposte
3rd Mar 2018, 8:08 PM
Ajeet kumar
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a wel
error
0 Voti
4 Risposte
24th Jan 2022, 1:45 PM
Zina Shekh Alzoor
Take a 4 digit no. Write program to display a no. whose digits are 2 greater than the corresponding digits of the no.ex.123 246.
-2 Voti
4 Risposte
22nd Feb 2018, 1:49 PM
Vikram Vm
Why is the answer to this program 2 and not 3? The x++ doesn't cause the value of x to increase in the end? Why?
loops
1 Voto
2 Risposte
26th Aug 2018, 3:29 AM
Mohammad Nadeem
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 Voti
2 Risposte
18th Mar 2022, 4:52 AM
Nick Accordino
Hey guyz ..i am 25 years old dentist ..i have 2 ideas to build an apps about dentistry ..but i dont know where to start ..
about
coding
i
know
nothing
0 Voti
3 Risposte
6th Oct 2018, 6:00 PM
mira miroo
I want to create a program which will count number like 1 and then 2 and then 3 when user click the button every time.
javascript
0 Voti
2 Risposte
18th Jul 2019, 3:27 AM
Noor
I have completed 1st module (all questions in it) but still it is showing as incomplete and I m not able to get to the 2 module?
php
0 Voti
5 Risposte
17th May 2020, 6:13 AM
Ashwini
Can you give me an example of this "if the sum of the three given digits is divisible by 2 or not."?
algorithm
flowchart
java
-2 Voti
1 Risposta
20th Sep 2022, 12:03 AM
KarlTzy Bren
Working with backwards coding and reprogram pc and it's parts invent new ways in computering dwt has found way 2 redo computers
dwt
0 Voti
1 Risposta
17th Mar 2017, 12:03 PM
daniel Hunter
A program that takes a number from the user on a base of ten and adds a base of 2 to 16
base
c++
conversion
program
-4 Voti
1 Risposta
20th Jan 2021, 9:01 AM
زهرا درویشی
Write a c++ program that uses a 2D array to store even numbers between 2 and 50 and their corresponding square values.
arrays
loops
-1 Voto
2 Risposte
3rd Mar 2017, 7:51 AM
Bonface Kariuki
If n value is 5 ,the output should be 1 2 3 4 5 ,n value should be given by the users only, use any condition loops.
c
c++
cprogramming
programming
2 Voti
2 Risposte
7th Apr 2020, 2:41 PM
Pŕiňcé Ŕãhúł
Why does Python run the line of code 'if p == 2 or 3' even when the input p is equal to 1? Can someone point out the mistake?
if-statements
python
2 Voti
3 Risposte
26th May 2018, 6:01 PM
Shohan Dutta Roy
I am confused to learn what, on my campus I learn C ++ for semester 1, and Java for semester 2 but I want to also learn javascri
c++
java
javascript
programmer
programmerlife
1 Voto
6 Risposte
6th Sep 2017, 12:43 AM
Irman Utamara
Suppose I've a vector as vector<int>a[n] and while compiling I give value of n as 2 . Can I keep on adding value to this array ?
array
cpp
vector
0 Voti
4 Risposte
1st Feb 2022, 1:32 PM
Dreamer
( The code project 2 ) , when replacing multiple of 3 by '*'.. position of 3 is getting replaced but 3 still gets printed below
c#
1 Voto
2 Risposte
10th Sep 2021, 9:12 AM
Saood Aga
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a wel
loop
0 Voti
3 Risposte
14th Feb 2021, 6:51 PM
Ajene, Jonathan Akpa
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 Voto
1 Risposta
21st Jan 2019, 11:34 PM
Ignacio Montero
Can someone help me with this please, i don't know how to create 2 animated Sidebar Menus (i mean to slide to the opposite)
css
html
menu
needhelp
sidebar
0 Voti
1 Risposta
13th Jun 2020, 10:02 PM
Katia Gasmi
Please where I'm wrong. It take an input and reverse it and multiply every second number by 2 and show the sum of the numbers.
javascript
0 Voti
1 Risposta
3rd Aug 2022, 2:06 PM
Ibrahim Habibu
weird array is the array in which direction weird number X and size of array is at least 2 and number Axis weird if the count of
please
0 Voti
2 Risposte
4th Feb 2023, 11:17 AM
manoj
If I would like to make the output like this: 5 , 10 , 15 how can I coding for just 2 commas sign?
c++
1 Voto
2 Risposte
16th Nov 2017, 3:58 PM
little rabbiz
If x = 2 then after executing the statement “ x = x + x + +” the value of x will be
c++
-2 Voti
2 Risposte
23rd Apr 2020, 4:16 AM
Salman Hanif Safi
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 Voti
2 Risposte
8th Dec 2016, 7:11 AM
Ajay Ramamurthy
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 Voti
1 Risposta
11th Dec 2018, 10:54 AM
Arsen
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
40
41
42
...
45
Successivo >
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Need help
1 Votes
Pointers in c#
1 Votes
How to install Bcrypt here
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
How to Get Better at Solving Programming Problems
0 Votes
Hello !
0 Votes
Help
1 Votes