Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
How this code print yes because 'a' is int data type and b is float
c++
1 Vote
1 Answer
3rd Jun 2019, 12:01 PM
Nouman Bin Sami
Why there is b [2] = 42 it should be 45 I think
arrays
-2 Votes
1 Answer
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 Vote
3 Answers
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 Votes
13 Answers
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 Votes
7 Answers
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 Votes
2 Answers
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 Votes
3 Answers
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 Vote
17 Answers
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 Vote
4 Answers
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 Vote
2 Answers
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 Votes
2 Answers
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 Votes
5 Answers
25th Jan 2018, 5:43 PM
Malik
I need you to help ,
am
b
i
1 Vote
2 Answers
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 Vote
7 Answers
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 Votes
2 Answers
12th Apr 2018, 10:58 AM
vts
What is the value of the variable b after running this piece of code?
ado
-1 Vote
1 Answer
18th Mar 2021, 5:53 PM
Charityn
How do i put condition that i password and confirm password must b same.
code
help
0 Votes
1 Answer
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 Votes
1 Answer
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 Votes
1 Answer
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 Votes
4 Answers
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 Votes
2 Answers
13th Sep 2020, 12:58 PM
RD:programmer
Does 0b represents binary, in this code?
b
binary
bits
1 Vote
1 Answer
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 Votes
2 Answers
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 Vote
2 Answers
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 Votes
2 Answers
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 Votes
9 Answers
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 Vote
3 Answers
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 Vote
4 Answers
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 Votes
4 Answers
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 Vote
5 Answers
9th Jun 2018, 10:10 PM
Anas El messlati
Python
a
b
c
d
0 Votes
5 Answers
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 Votes
6 Answers
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 Votes
2 Answers
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 Votes
14 Answers
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 Votes
3 Answers
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 Votes
1 Answer
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 Votes
2 Answers
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 Vote
6 Answers
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 Vote
2 Answers
8th Jan 2019, 1:09 AM
Austin
Code to get second largest among three .... considering d case dat 2 can b equal.....
ques.
0 Votes
2 Answers
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 Votes
3 Answers
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 Votes
2 Answers
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 Votes
9 Answers
3rd Jul 2020, 5:31 AM
Gone
Нажмите, чтобы попробовать
b
pro
sololearn
0 Votes
1 Answer
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 Vote
12 Answers
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 Votes
12 Answers
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 Votes
2 Answers
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 Votes
4 Answers
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 Votes
5 Answers
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 Votes
3 Answers
11th Jul 2020, 12:24 PM
Tahsin Ahmed
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
5
6
7
...
9
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
I’m new someone can help me
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes