Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
#include <stdio.h> main() { int i; for(i=0;i<5;i+=4) { i=i*i; } printf("ans %d",i); return 0; }
include<stdio.h>
main(
0 Voto
5 Respostas
11th Sep 2020, 9:44 AM
Chauhan Ashutoshkumar Harishankar
#include<stdio.h> int main() { printf("%x", -1<<1); getchar(); return 0; }
code
logic
output
7 Votos
9 Respostas
25th Dec 2018, 10:22 AM
Vinayak Irabatti
import java.util.*; public class Bowling { HashMap<String, Integer> players; Bowling() { players = new Ha
java
1 Voto
1 Resposta
19th Jan 2021, 5:02 AM
Samriddhi sinha
public class Program { public static void main(String[] args) { int[ ][ ] sample = { {1, 2, 3}, {4, 5, 6} };
arrays
java
2 Votos
5 Respostas
25th Oct 2017, 11:56 AM
Hasrat Wadsariya
class Program { void main(int a,int b) { int c; c=a+b; System.out.println("Final value ="+c);
java
0 Voto
3 Respostas
1st Jun 2022, 4:04 AM
Shashank
#include <iostream> using namespace std; int main() { for (int x=1; x<10; x++) { if (x==2){ continue; } if (x==5){ break; } cou
c++
programming
1 Voto
12 Respostas
30th Dec 2022, 3:45 PM
Alex Boso Nzaphila
public class Main { public static void main(String[] args) { int a = 'a'; System.out.print(a); } }
java
2 Votos
6 Respostas
9th Sep 2018, 7:29 AM
sapan
Lists[ ] and Dictionaries { }
python3
2 Votos
2 Respostas
14th Jul 2020, 3:57 PM
Gaurav Joshi
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner sourav = new Scanne
java
0 Voto
13 Respostas
25th Jul 2017, 8:41 AM
Sourav Kumar
#include <iostream> using namespace std; int main() { int a[]={3,5,2,1}; for(int i=1;i<5;i++) { a[0]=a[i]+1; } cout<<a[0];
c++
0 Voto
10 Respostas
23rd Dec 2016, 1:46 PM
Sumit Lokhande
Hello everyone please help this question? function main() { var distance = parseInt(readLine(), 10);
js
0 Voto
12 Respostas
2nd Jan 2021, 1:35 AM
MK GALAXY
li:nth-child(1) { animation:txt1 2s ease-in-out infinite; }
code
8 Votos
6 Respostas
15th Mar 2017, 4:51 PM
Prashanth Kumar
public class MyClass { public static void main(String[ ] args) { try { int a[ ] = new int[2];// wha
java
1 Voto
2 Respostas
19th Apr 2017, 1:06 PM
Bakkesh Shivakumar Aladahalli
Am new to programming. I need all the help I can get.
{
<script>
3 Votos
6 Respostas
2nd Oct 2018, 9:35 PM
Chef Mexy
int x = 1; while(x > 0) { System.out.println(x); if(x == 4) { break; } x++; }
break
java
loop
while
2 Votos
4 Respostas
5th Nov 2019, 3:23 AM
Minhaj Haider
public class Program { public static void main(String[] args) { for(int x=10; x<=40; x=x+10) { if(x == 3
java
loops
0 Voto
2 Respostas
19th Mar 2017, 7:25 AM
naveen roshan
{ status : "solved" } (Node.js)mongoose or mongodb?
mongodb
node.js
5 Votos
9 Respostas
3rd May 2019, 4:15 AM
Gordon
bonjour à tous voilà je suis boquée au niveau de l'exercice suivant : int fact (int x) { if (x == 1) { 1; } else {
c++
recursion
0 Voto
10 Respostas
26th Nov 2018, 1:18 PM
Séverine MOUNIER
What is the output of this code? class Temp { public int num = 2; public Temp() { num++;} ~Temp() { num++; } } static void
c#
1 Voto
3 Respostas
30th Apr 2019, 2:07 PM
Smit Chawda
Fill in the blanks. A { private int x; public A( val) { x = val; } }
constructors
java
0 Voto
5 Respostas
3rd Jul 2017, 10:51 AM
Walter Mugo
Why does it output { 7, 8, 9} out of order, but instead { 8, 9, 7}?
moment.
notclear
1 Voto
4 Respostas
22nd Sep 2023, 3:35 PM
Хорошо
public class program { public static void main(String[] args) { String firstName, lastName; firstName="Mahmudul"; lastNam
fault
1 Voto
5 Respostas
28th Aug 2017, 11:20 AM
Mahmudul Hasan
function del() { var strng=document.getElementById("7").innerText; document.getElementById("7").innerText=strng.substring(0,str
javascript
website
3 Votos
3 Respostas
21st Aug 2017, 9:02 AM
Reward
Drag and drop from the options below to create a valid constructor. class Person { private int age; public ( myage) {
constructors
java
-6 Votos
13 Respostas
3rd Jul 2017, 9:47 AM
Walter Mugo
#include <iostream> #include <string> using namespace std; class myClass { public: void setName(string x) {
encapsulation
0 Voto
3 Respostas
21st May 2020, 6:22 PM
Salini Selvam
body { overflow: hidden; } [1 SOLUTION]
css
html
javascript
jquery
modal
overflow
4 Votos
1 Resposta
17th Oct 2018, 2:28 AM
Zeke Williams
var sum=0; for(i=4; i<8; i++) { if (i == 6) { continue; } sum += i; } document.write(sum); the output is 16.... can a
javascript
loops
3 Votos
22 Respostas
12th Oct 2016, 11:43 AM
Shabana.A
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scann
switch
0 Voto
3 Respostas
20th Sep 2022, 3:22 PM
Senthil
import java.util.*; class Program { public static void main(String[] args) { int ch; float usd,inr;
java
0 Voto
5 Respostas
28th Jun 2017, 2:17 PM
Rajan Khorasiya
#include <iostream> using namespace std; void printSomething(int x) { cout << x; } int main() { printSomething(42); }
<b>
1 Voto
4 Respostas
14th Apr 2018, 12:20 PM
TOKOLLO COLLEN
#Include <Iostream> using namespace std; { Int num=1 While(num<6) { Cout<< "Number"<< num<<endl; Num=num+3; } }
c++
1 Voto
6 Respostas
12th Apr 2017, 7:12 PM
Abdi
int main() { cout<<(1&&45||0); }
namratha
0 Voto
1 Resposta
31st Oct 2019, 4:40 PM
Ashish kumar
#include <iostream> using namespace std; int main() { int a[]={1,2,3,4}; for(int x=0;x<4;x++) { a[0]+=a[x]; }
c++
1 Voto
2 Respostas
3rd May 2019, 3:06 AM
Husaain Naqvi
public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x);
q
1 Voto
2 Respostas
30th Dec 2019, 4:26 PM
BAYODE BLESSING AKINBOLA
#include <stdio.h> int main() { int i,n; char a[100]; gets(a); n=strlen(a); for(i=0;i<=n;i++) { printf("%s",a[n-i]); }
c
0 Voto
2 Respostas
2nd Dec 2021, 2:10 PM
Karthik C
Drag and drop from the options below to define the set and get methods. class A { private int x; public getX() {
classes
java
1 Voto
10 Respostas
3rd Jul 2017, 7:53 AM
Walter Mugo
class A { private int x; public ??? getX() { return ??? ; } public ??? setX(int x) { this.x = x; } }
classes
java
0 Voto
2 Respostas
26th Aug 2017, 6:57 PM
Gopi Krishna Verma
public static void main(String[] arg) { ???
java
5 Votos
4 Respostas
1st Mar 2017, 9:49 PM
PaperGami T.
class MyClass { public static void main(String[ ] args) { System.out.println("Hello World"); } }
i
-1 Voto
3 Respostas
23rd Jan 2021, 1:25 PM
Harsh Verma
public class Program { public static void main(String[] args) { int a=5; int b=2; int f=+a+b; System.out.pri
java
0 Voto
3 Respostas
7th Apr 2019, 7:51 AM
Vignesh R
public class Hello World { public static void main(String [ ] args ) } { System.out.println ("Hello World");
help
2 Votos
8 Respostas
21st Jan 2018, 5:15 PM
PRASHANT Mishra
function hello() { console.log(arguments[0]); console.log(+Array.isArray(arguments)); } hello(5);
javascript
1 Voto
1 Resposta
15th Aug 2023, 1:40 AM
Aman Kumar
#include<stdio.h> int main() { int a=1; printf("%d%d%d",a++,++a,a); return 0; }
c
0 Voto
14 Respostas
9th Jul 2017, 10:12 AM
RAHUL
So in this "code playground" the double { " " } is used or { ' ' } (single)?
python
2 Votos
11 Respostas
12th Aug 2017, 6:07 PM
ISAIAH YEGO 7️⃣
for(int i=10;i>=5; i--) { System.out.println("i="+i); }
java
-1 Voto
2 Respostas
8th Sep 2021, 6:45 AM
Asmit Choudhary
#include <stdio.h> int call(int (*func)(int),int arg) { return func(arg); } int inc(int var) { return ++var;}
c
0 Voto
3 Respostas
16th May 2022, 4:26 AM
Ashutosh Kumar
public class Program { public static void main(String[] args) { float a =10.2; float b=5.3; float c=a%b;
java
0 Voto
4 Respostas
25th May 2020, 1:13 PM
Harsh Vyas
public class Program { public static void main(String[] args) { int x[]={110,20,30,40,50,70}; int y[]; y=x;
operands
0 Voto
1 Resposta
27th Sep 2019, 3:24 PM
Anuj Patel
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner
java#coder
1 Voto
3 Respostas
27th Jan 2022, 2:35 PM
Hirdesh Prajapati
import java.util.*; public class Program { public static void main(String[] args) { Scanner sc=new Scanner(Syst
.
0 Voto
2 Respostas
14th Sep 2022, 3:32 PM
A.T.U .L.
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
2
3
...
14
Próximo >
Quente hoje
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 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
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes