Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
How this code print yes because 'a' is int data type and b is float
c++
1 Voto
1 Respuesta
3rd Jun 2019, 12:01 PM
Nouman Bin Sami
Why there is b [2] = 42 it should be 45 I think
arrays
-2 Votos
1 Respuesta
2nd May 2018, 6:03 AM
Ubed Ullah
How can I save the coordinates of the two points a and b in 3D space as follows(using class)
c++
classes
1 Voto
3 Respuestas
11th Jan 2022, 7:04 PM
Nadia
How fo you code a question but if A is selected it must say something else as when B is selected?
c++
0 Votos
13 Respuestas
1st Jan 2017, 5:39 PM
erik
I'M learning Web designing, plz suggest wt r the courses need to learn to b a successful web designer...???
html
images
0 Votos
7 Respuestas
27th Mar 2018, 7:17 AM
Reet Kaur
How would the atrribute__a of the class b be accessed from outside the class?
python
0 Votos
2 Respuestas
29th Nov 2016, 5:56 AM
Muhammad Tarek Khan
In addition to b class 2 has a c parameter, is this the correct way to code?
python
python3
0 Votos
3 Respuestas
20th May 2022, 2:08 PM
Lenoname
what is the output? public static void Main (String[] arg) { int a = 5; int b = 5; Console.WriteLine(++a + b++); }
c#
operators
1 Voto
17 Respuestas
25th Jul 2016, 12:37 PM
Evan Sihab
If I want to print b of 5th line then What to write in last line's print statement?
code
codeplayground
python
1 Voto
4 Respuestas
22nd Dec 2018, 9:04 AM
Kushang
What is the output of the following code? int a = 11; int b = 12; int c = 40; if (a > 100 || b > 3) { System.out.println(a
java
operators
-1 Voto
2 Respuestas
5th Oct 2016, 8:32 PM
Khloud Mohamed
what if u want the IMG to b at center of the text ...like words wrapped around images in a newspaper
float
2 Votos
2 Respuestas
18th Jul 2019, 9:34 AM
Charles $now
Both strong and b tag are used to make word bold.then why need of two , is there any difference between them?😁😁
<b>
<strong>
b
html
strong
web
7 Votos
5 Respuestas
25th Jan 2018, 5:43 PM
Malik
I need you to help ,
am
b
i
1 Voto
2 Respuestas
22nd Sep 2018, 1:52 PM
RAFANOMEZANTSOA Nantenaina Alfinace
Write a program that takes two numbers as input, assigns those values to the provided a and b variables, then outputs their sum.
correction
guide
me
1 Voto
7 Respuestas
16th Jan 2022, 6:43 AM
_pfttwdyc_
[challenge] Estimate cost of getting from A to B by different means of transportation in your town
python
0 Votos
2 Respuestas
12th Apr 2018, 10:58 AM
vts
What is the value of the variable b after running this piece of code?
ado
-1 Voto
1 Respuesta
18th Mar 2021, 5:53 PM
Charityn
How do i put condition that i password and confirm password must b same.
code
help
0 Votos
1 Respuesta
14th Nov 2016, 1:54 PM
MSK
So i wanted to make a calculator so i did int << a = 5; int << b = 10; int sum a + b = 15; but it didnt work
c++
0 Votos
1 Respuesta
28th Dec 2016, 6:05 PM
RadGuy4Life
How do I create an animated Android background app? Can anyone build for me?
an
android
animated
anyone
app?
b
background
can
create
howdo
i
-2 Votos
1 Respuesta
15th Apr 2021, 6:00 AM
hasan
Which other keywords are also used to declare the class other than class? A. struct B. union C. object D. both a & b
c++
classes
program
struct
0 Votos
4 Respuestas
20th Feb 2018, 9:06 AM
S.k. Raj
Please given me a example of this code, operator: a > b ? alert(a) : alert(b).
:
-3 Votos
2 Respuestas
13th Sep 2020, 12:58 PM
RD:programmer
Does 0b represents binary, in this code?
b
binary
bits
1 Voto
1 Respuesta
9th Jun 2020, 11:13 PM
Azad m. A.
What is the output of this code? int a 3; int b 1, 2; int c 4; b[3] 10; printf("a %d\n", a);
array
c
cpp
3 Votos
2 Respuestas
17th Feb 2019, 3:50 PM
Lord_fourth
E() called two time. Each time value of a and b is different. Why? Explain in detail please.
c
1 Voto
2 Respuestas
27th Jul 2019, 5:25 PM
Sagar Singh Khati
how can b takes two values whiles it is given as integer in the first line
c#
0 Votos
2 Respuestas
30th May 2018, 2:16 PM
ahmed siddiq
write a program to obtain the following pattern A D C B E F G H I P O N M L K J # # # # # # # # # J K L M N O P I H G F E B C D A
c++
2 Votos
9 Respuestas
23rd Sep 2016, 4:58 PM
Meena
Can anybody explain, why the class B constructor calls the class A constructor in this code below? Thanks.
constructors
inheritance
java
methods
1 Voto
3 Respuestas
17th Jul 2017, 5:58 PM
Zoller András
Python program to enter Positive number N and find numbers a and b such that a2 - b2 = N
linear_algebra
python
1 Voto
4 Respuestas
15th Mar 2018, 5:39 PM
Manorama
when you only know the values of R, G, and B (in color), how do you put it in your code?
color
rgb
2 Votos
4 Respuestas
7th Dec 2018, 12:07 AM
Audrey Garcia
Write a C program to print the following character number pyramid as: 1 A B 2 3 4 C D E F
c++
1 Voto
5 Respuestas
9th Jun 2018, 10:10 PM
Anas El messlati
Python
a
b
c
d
0 Votos
5 Respuestas
12th Feb 2019, 9:53 PM
Safina Nganga
How do we arrive at 26 as answer here? int a = 10; int b = 13; int *p1= &a; int *p2= &a; *p1 = b; cout << (*p1) + (*p2);
c++
7 Votos
6 Respuestas
3rd Mar 2019, 10:13 AM
david chongo
Please Help 🥲 I want to print value of a and b in a single println (in java)
java
0 Votos
2 Respuestas
22nd Feb 2022, 2:58 PM
Karan singh
how do you compare variables for ex ample you have variables a and b you want to compare them and see if they are the same
python
4 Votos
14 Respuestas
12th Oct 2017, 10:37 PM
FISHARM
simple code that is supposed to create B and D classes but I have problems when creating class D
c++
0 Votos
3 Respuestas
28th Jun 2021, 8:15 AM
Giorgi Kekelidze
Why this print New A New B if in the main only is instancing obj?
inheritance
java
0 Votos
1 Respuesta
5th Jul 2017, 10:22 PM
Fomnlinx Chan
How to get sum of array elements excluding the numbers between a and b using c language?
c
0 Votos
2 Respuestas
26th Jul 2018, 4:28 PM
Sunil Meena
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_twice(add, a, b))
functions
python
return
1 Voto
6 Respuestas
29th Jul 2016, 10:31 AM
Rupam Das
(solved) a = float(input()) b = float(input()) c = float((a*b)/1000) if 10>c>0 c*20=c elif 20>c>=10 c*10=c elif 35>c>=20
python
1 Voto
2 Respuestas
8th Jan 2019, 1:09 AM
Austin
Code to get second largest among three .... considering d case dat 2 can b equal.....
ques.
0 Votos
2 Respuestas
5th Aug 2017, 6:28 AM
Manan Gulyani
Which of the IP classes multicast? Class A or B or C or D...What is the meaning of multicast
class
ip
0 Votos
3 Respuestas
2nd Dec 2019, 7:05 AM
Satya Anurag Das
What is the output of this code? a = 8 b = 4 c = a/b d = str (c) print (2*d)
question
2 Votos
2 Respuestas
11th Oct 2020, 2:34 PM
Аскарова Дильноза
Why( var a = 7;, var b = 7; )a===b is false & (var c = a; )a===c is true. Having problem to understand JavaScript reference type
javascript
refererencetype
3 Votos
9 Respuestas
3rd Jul 2020, 5:31 AM
Gone
Нажмите, чтобы попробовать
b
pro
sololearn
0 Votos
1 Respuesta
12th Aug 2021, 4:34 PM
Артур Какинг
There should be a option to increase or decrease the number of XP while challenging an opponent... What is your opinion???
b
changes
made
sololearn
to
1 Voto
12 Respuestas
5th May 2017, 5:04 AM
mr. rahul
If I have 2 players and each get points. Ho would write a line of code to say, if playerA number is = b then don't add a point?
ifstatements
java
2 Votos
12 Respuestas
3rd Sep 2019, 9:42 PM
Sunflowermoon
Why the output is 4 in both b and b++? I am not able to understand this. Kindly help.
c#
increment
3 Votos
2 Respuestas
16th Oct 2017, 3:09 AM
kanishka
I want the program like this. There are three persons A, B and C. They are participated in elections.
c++
0 Votos
4 Respuestas
5th Feb 2017, 2:29 PM
Krishna Teja
Is there any other method to copy string of A="hello"; to string B without using #Loops, #sitring functions, #simple assignment
c
c++
copyingstring
java
0 Votos
5 Respuestas
24th Feb 2017, 3:43 PM
Deepak Sharma
Anybody tell me what will be this output. var a = 5; var b = ++a; var c = b++; alert(a+b+c); Also tell how.PLEASE.
javascript
5 Votos
3 Respuestas
11th Jul 2020, 12:24 PM
Tahsin Ahmed
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
5
6
7
...
9
Siguiente >
En tendencia hoy
How to use the get() method
3 Votes
How to get account back?
1 Votes
why is this platform infested with web devs
3 Votes
So this what I'm trying to solve
2 Votes
PHP Tutorial Idea
1 Votes
Use Python for string manipulation and sorting.
1 Votes
So how do I create python file and be able to code in it?
0 Votes
How to open the test cases on sololearn I tried so many times with the correct code
0 Votes
Gimme some advice
0 Votes
can anybody tell me a trick to earn followers
0 Votes